X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fproxy.config.json;h=3586efdf366739639c1b1c93d32437708d544d24;hb=b99ee1b150257e0d54bde4b928dd9dc76b97ef7b;hp=1c5a84c852db696088e32c44ecb571caa5a6bb63;hpb=ffb321bedca46d6987c7b31dd58e5dea96ea2ea2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/proxy.config.json b/client/proxy.config.json index 1c5a84c85..3586efdf3 100644 --- a/client/proxy.config.json +++ b/client/proxy.config.json @@ -1,23 +1,45 @@ { "/api": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", "secure": false }, "/plugins": { - "target": "http://localhost:9000", + "target": "http://127.0.0.1:9000", "secure": false }, "/themes": { - "target": "http://localhost:9000", + "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" } }