diff --git a/apps/server/src/routes/routes.ts b/apps/server/src/routes/routes.ts index 73beb28e2..9c420ec06 100644 --- a/apps/server/src/routes/routes.ts +++ b/apps/server/src/routes/routes.ts @@ -216,7 +216,7 @@ function register(app: express.Application) { apiRoute(GET, "/api/options", optionsApiRoute.getOptions); // FIXME: possibly change to sending value in the body to avoid host of HTTP server issues with slashes - apiRoute(PUT, "/api/options/:name/:value*", optionsApiRoute.updateOption); + apiRoute(PUT, "/api/options/:name/:value", optionsApiRoute.updateOption); apiRoute(PUT, "/api/options", optionsApiRoute.updateOptions); apiRoute(GET, "/api/options/user-themes", optionsApiRoute.getUserThemes); apiRoute(GET, "/api/options/locales", optionsApiRoute.getSupportedLocales);