projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a56b4f
)
Fix angular proxy in dev mode
author
Chocobozzz
<me@florianbigard.com>
Thu, 25 Jul 2019 09:40:19 +0000
(11:40 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 25 Jul 2019 09:40:19 +0000
(11:40 +0200)
client/proxy.config.json
patch
|
blob
|
history
diff --git
a/client/proxy.config.json
b/client/proxy.config.json
index 7b7357f44da116dd5e705868714dc0349c629479..81a0fc4c1d562f5c86decb0e89dec9407df138b5 100644
(file)
--- a/
client/proxy.config.json
+++ b/
client/proxy.config.json
@@
-20,8
+20,14
@@
"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"
}
}