aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-25 11:40:19 +0200
committerChocobozzz <me@florianbigard.com>2019-07-25 11:40:19 +0200
commit2c434c348c72169931a57a3b798cbfa49f70695c (patch)
tree1c78820785c26dc09a007b1366daa93d797cfd9d
parent1a56b4f6802f63436b804e766a9e648103216a40 (diff)
downloadPeerTube-2c434c348c72169931a57a3b798cbfa49f70695c.tar.gz
PeerTube-2c434c348c72169931a57a3b798cbfa49f70695c.tar.zst
PeerTube-2c434c348c72169931a57a3b798cbfa49f70695c.zip
Fix angular proxy in dev mode
-rw-r--r--client/proxy.config.json12
1 files changed, 9 insertions, 3 deletions
diff --git a/client/proxy.config.json b/client/proxy.config.json
index 7b7357f44..81a0fc4c1 100644
--- a/client/proxy.config.json
+++ b/client/proxy.config.json
@@ -20,8 +20,14 @@
20 "secure": false, 20 "secure": false,
21 "ws": true 21 "ws": true
22 }, 22 },
23 "/": { 23 "/!(client)**": {
24 "target": "http://localhost:3000/client", 24 "target": "http://localhost:3000/client/index.html",
25 "secure": false 25 "secure": false,
26 "logLevel": "debug"
27 },
28 "/!(client)**/**": {
29 "target": "http://localhost:3000/client/index.html",
30 "secure": false,
31 "logLevel": "debug"
26 } 32 }
27} 33}