X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fproxy.config.json;h=3586efdf366739639c1b1c93d32437708d544d24;hb=a1662576112ee33367fcd300131a98a52a0cc62a;hp=c6300a4126b93c09bfa366a541cea737a76ba662;hpb=18a6f04c071f7a0735eb39b8c67fd51a082d1a31;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/proxy.config.json b/client/proxy.config.json index c6300a412..3586efdf3 100644 --- a/client/proxy.config.json +++ b/client/proxy.config.json @@ -1,19 +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://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" } }