diff --git a/packages/embark-ui/.env.production b/packages/embark-ui/.env.production index ba7cc18de..17409c6ca 100644 --- a/packages/embark-ui/.env.production +++ b/packages/embark-ui/.env.production @@ -1 +1 @@ -GENERATE_SOURCEMAP=false +PUBLIC_URL=/ diff --git a/packages/embark/src/lib/modules/api/server.ts b/packages/embark/src/lib/modules/api/server.ts index 84a52af38..1b465cc10 100644 --- a/packages/embark/src/lib/modules/api/server.ts +++ b/packages/embark/src/lib/modules/api/server.ts @@ -112,7 +112,6 @@ export default class Server { } instance.app.use("/", ui); - instance.app.use("/*", ui); return instance; }