X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fproxy.config.json;h=3586efdf366739639c1b1c93d32437708d544d24;hb=aa85f27b22a4e26befb21fa93ef1598a61d46e32;hp=d1f3936729846b935102c5b2fe1e428ede8644d0;hpb=0cfcbae8189353a1ad29bafbd520e6965290f367;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/proxy.config.json b/client/proxy.config.json index d1f393672..3586efdf3 100644 --- a/client/proxy.config.json +++ b/client/proxy.config.json @@ -1,10 +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://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" } }