Add configurable browser tab title for multi-instance QingLong deployments (#3041)

This commit is contained in:
whyour
2026-07-10 02:07:11 +08:00
parent da6dac8bf1
commit ddb3ab7ac3
8 changed files with 126 additions and 17 deletions
+18
View File
@@ -442,6 +442,24 @@ export default (app: Router) => {
},
);
route.put(
'/config/panel-title',
celebrate({
body: Joi.object({
panelTitle: Joi.string().max(100).allow('').allow(null),
}),
}),
async (req: Request, res: Response, next: NextFunction) => {
try {
const systemService = Container.get(SystemService);
const result = await systemService.updatePanelTitle(req.body);
res.send(result);
} catch (e) {
return next(e);
}
},
);
route.put(
'/config/global-ssh-key',
celebrate({