refactor(server): fix stylesheet paths

pull/1956/head
Elian Doran 2025-05-16 22:27:01 +07:00
parent 1d675538a8
commit ac79ae29f2
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -43,7 +43,7 @@ async function register(app: express.Application) {
app.use(`/${assetPath}/app`, clientProxy);
app.use(`/${assetPath}/app-dist`, clientProxy);
app.use(`/${assetPath}/stylesheets`, proxy(publicUrl, {
proxyReqPathResolver: (req) => "/stylesheets" + req.url
proxyReqPathResolver: (req) => `/${assetPath}/app/src/stylesheets/${req.url}`
}));
app.use(`/${assetPath}/libraries`, proxy(publicUrl, {
proxyReqPathResolver: (req) => "/libraries" + req.url