aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorWicklow <wicklow@framasoft.org>2023-02-08 11:30:27 +0100
committerChocobozzz <chocobozzz@cpy.re>2023-02-08 14:47:23 +0100
commit60ea45b092aeec3564f7bcc9acf7838a9e84ef7d (patch)
tree6fb60d29b615002978c76ccd28af2c521cfe10ca /client
parentafb371d940531a5a8aafb5895b369b9cdecd555b (diff)
downloadPeerTube-60ea45b092aeec3564f7bcc9acf7838a9e84ef7d.tar.gz
PeerTube-60ea45b092aeec3564f7bcc9acf7838a9e84ef7d.tar.zst
PeerTube-60ea45b092aeec3564f7bcc9acf7838a9e84ef7d.zip
Fix Angular proxy with Node 18
Diffstat (limited to 'client')
-rw-r--r--client/proxy.config.json20
1 files changed, 10 insertions, 10 deletions
diff --git a/client/proxy.config.json b/client/proxy.config.json
index 0681066be..3586efdf3 100644
--- a/client/proxy.config.json
+++ b/client/proxy.config.json
@@ -1,44 +1,44 @@
1{ 1{
2 "/api": { 2 "/api": {
3 "target": "http://localhost:9000", 3 "target": "http://127.0.0.1:9000",
4 "secure": false 4 "secure": false
5 }, 5 },
6 "/plugins": { 6 "/plugins": {
7 "target": "http://localhost:9000", 7 "target": "http://127.0.0.1:9000",
8 "secure": false 8 "secure": false
9 }, 9 },
10 "/themes": { 10 "/themes": {
11 "target": "http://localhost:9000", 11 "target": "http://127.0.0.1:9000",
12 "secure": false 12 "secure": false
13 }, 13 },
14 "/static": { 14 "/static": {
15 "target": "http://localhost:9000", 15 "target": "http://127.0.0.1:9000",
16 "secure": false 16 "secure": false
17 }, 17 },
18 "/lazy-static": { 18 "/lazy-static": {
19 "target": "http://localhost:9000", 19 "target": "http://127.0.0.1:9000",
20 "secure": false 20 "secure": false
21 }, 21 },
22 "/socket.io": { 22 "/socket.io": {
23 "target": "ws://localhost:9000", 23 "target": "ws://127.0.0.1:9000",
24 "secure": false, 24 "secure": false,
25 "ws": true 25 "ws": true
26 }, 26 },
27 "/client/assets": { 27 "/client/assets": {
28 "target": "http://localhost:9000", 28 "target": "http://127.0.0.1:9000",
29 "secure": false 29 "secure": false
30 }, 30 },
31 "/client/locales": { 31 "/client/locales": {
32 "target": "http://localhost:9000", 32 "target": "http://127.0.0.1:9000",
33 "secure": false 33 "secure": false
34 }, 34 },
35 "/!(client)**": { 35 "/!(client)**": {
36 "target": "http://localhost:3000/client/index.html", 36 "target": "http://127.0.0.1:3000/client/index.html",
37 "secure": false, 37 "secure": false,
38 "logLevel": "debug" 38 "logLevel": "debug"
39 }, 39 },
40 "/!(client)**/**": { 40 "/!(client)**/**": {
41 "target": "http://localhost:3000/client/index.html", 41 "target": "http://127.0.0.1:3000/client/index.html",
42 "secure": false, 42 "secure": false,
43 "logLevel": "debug" 43 "logLevel": "debug"
44 } 44 }