X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fproxy.config.json;h=3586efdf366739639c1b1c93d32437708d544d24;hb=3dabd401d30a7a24dd56c8bf59a9c87d87375cc6;hp=4a72f1826337f49fb4d1a687ce6b81e876188f65;hpb=0ba5f5baade94a051710d9d9d408ac8083c14ac6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/proxy.config.json b/client/proxy.config.json index 4a72f1826..3586efdf3 100644 --- a/client/proxy.config.json +++ b/client/proxy.config.json @@ -1,15 +1,45 @@ { "/api": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", + "secure": false + }, + "/plugins": { + "target": "http://127.0.0.1:9000", + "secure": false + }, + "/themes": { + "target": "http://127.0.0.1:9000", "secure": false }, "/static": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", + "secure": false + }, + "/lazy-static": { + "target": "http://127.0.0.1:9000", "secure": false }, "/socket.io": { - "target": "ws://localhost:9000", + "target": "ws://127.0.0.1:9000", "secure": false, "ws": true + }, + "/client/assets": { + "target": "http://127.0.0.1:9000", + "secure": false + }, + "/client/locales": { + "target": "http://127.0.0.1:9000", + "secure": false + }, + "/!(client)**": { + "target": "http://127.0.0.1:3000/client/index.html", + "secure": false, + "logLevel": "debug" + }, + "/!(client)**/**": { + "target": "http://127.0.0.1:3000/client/index.html", + "secure": false, + "logLevel": "debug" } }