From 90f2dcb4c9e1818f340793eb5a5a0671c6477c1a Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Wed, 11 Sep 2019 20:14:59 +0200 Subject: [PATCH] :bug: Fix bug that page did load white after version update --- packages/cli/src/Server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/Server.ts b/packages/cli/src/Server.ts index 6bd05bd8cbe..f050b5b0200 100644 --- a/packages/cli/src/Server.ts +++ b/packages/cli/src/Server.ts @@ -188,7 +188,7 @@ class App { this.app.use(history({ rewrites: [ { - from: new RegExp(`^\/(rest|${this.endpointWebhook}|${this.endpointWebhookTest})\/.*$`), + from: new RegExp(`^\/(rest|css|js|${this.endpointWebhook}|${this.endpointWebhookTest})\/.*$`), to: (context) => { return context.parsedUrl!.pathname!.toString(); }