"options": {
"baseHref": "/",
"deployUrl": "client/",
- "browserTarget": "PeerTube:build"
+ "browserTarget": "PeerTube:build",
+ "proxyConfig": "proxy.config.json"
},
"configurations": {
"production": {
"browserTarget": "PeerTube:build:hmr"
},
"e2e": {
- "browserTarget": "PeerTube:build:e2e"
+ "browserTarget": "PeerTube:build:e2e",
+ "proxyConfig": "e2e/proxy.config.json"
}
}
},
--- /dev/null
+{
+ "/api": {
+ "target": "http://localhost:9000",
+ "secure": false
+ },
+ "/plugins": {
+ "target": "http://localhost:9000",
+ "secure": false
+ },
+ "/themes": {
+ "target": "http://localhost:9000",
+ "secure": false
+ },
+ "/static": {
+ "target": "http://localhost:9000",
+ "secure": false
+ },
+ "/lazy-static": {
+ "target": "http://localhost:9000",
+ "secure": false
+ },
+ "/socket.io": {
+ "target": "ws://localhost:9000",
+ "secure": false,
+ "ws": true
+ },
+ "/!(client)**": {
+ "target": "http://localhost:3333/client/index.html",
+ "secure": false,
+ "logLevel": "debug"
+ },
+ "/!(client)**/**": {
+ "target": "http://localhost:3333/client/index.html",
+ "secure": false,
+ "logLevel": "debug"
+ }
+}