Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix angular proxy in dev mode

Chocobozzz2c434c348c72
diff --git a/client/proxy.config.json b/client/proxy.config.json
index 7b7357f44d..81a0fc4c1d 100644
--- 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"
}
}