]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix angular proxy in dev mode
authorChocobozzz <me@florianbigard.com>
Thu, 25 Jul 2019 09:40:19 +0000 (11:40 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 25 Jul 2019 09:40:19 +0000 (11:40 +0200)
client/proxy.config.json

index 7b7357f44da116dd5e705868714dc0349c629479..81a0fc4c1d562f5c86decb0e89dec9407df138b5 100644 (file)
     "secure": false,
     "ws": true
   },
-  "/": {
-    "target": "http://localhost:3000/client",
-    "secure": false
+  "/!(client)**": {
+    "target": "http://localhost:3000/client/index.html",
+    "secure": false,
+    "logLevel": "debug"
+  },
+  "/!(client)**/**": {
+    "target": "http://localhost:3000/client/index.html",
+    "secure": false,
+    "logLevel": "debug"
   }
 }