diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-25 11:40:19 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-25 11:40:19 +0200 |
commit | 2c434c348c72169931a57a3b798cbfa49f70695c (patch) | |
tree | 1c78820785c26dc09a007b1366daa93d797cfd9d /client | |
parent | 1a56b4f6802f63436b804e766a9e648103216a40 (diff) | |
download | PeerTube-2c434c348c72169931a57a3b798cbfa49f70695c.tar.gz PeerTube-2c434c348c72169931a57a3b798cbfa49f70695c.tar.zst PeerTube-2c434c348c72169931a57a3b798cbfa49f70695c.zip |
Fix angular proxy in dev mode
Diffstat (limited to 'client')
-rw-r--r-- | client/proxy.config.json | 12 |
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 | } |