fix: (dev-only) regression on proxied guis

Massimo Melina committed Aug 4, 2022 at 16:50 UTC bf44caea1c1c8da598cb8cde7330595da747850a
1 file changed +1 -1
server/src/serveGuiFiles.ts
+1 -1
@@ -68,7 +68,7 @@ function serveProxied(port: string | undefined, uri: string) { // used for devel
68 proxyReqPathResolver: (ctx) => ctx.path.endsWith('/') ? '/' : ctx.path,
69 userResDecorator(res, data, ctx) {
70 return ctx.path.endsWith('/') ? treatIndex(ctx, String(data), uri)
71 - : adjustWebpackLinks(ctx.path, uri, String(data))
71 + : adjustWebpackLinks(ctx.path, uri, data)
72 }
73 }) )
74 return function() { //@ts-ignore