]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix Angular proxy with Node 18
authorWicklow <wicklow@framasoft.org>
Wed, 8 Feb 2023 10:30:27 +0000 (11:30 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Wed, 8 Feb 2023 13:47:23 +0000 (14:47 +0100)
client/proxy.config.json

index 0681066be4c4d37206f4cb3da6492b22b792ad78..3586efdf366739639c1b1c93d32437708d544d24 100644 (file)
@@ -1,44 +1,44 @@
 {
   "/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://localhost:9000",
+    "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://localhost:9000",
+    "target": "http://127.0.0.1:9000",
     "secure": false
   },
   "/client/locales": {
-    "target": "http://localhost:9000",
+    "target": "http://127.0.0.1:9000",
     "secure": false
   },
   "/!(client)**": {
-    "target": "http://localhost:3000/client/index.html",
+    "target": "http://127.0.0.1:3000/client/index.html",
     "secure": false,
     "logLevel": "debug"
   },
   "/!(client)**/**": {
-    "target": "http://localhost:3000/client/index.html",
+    "target": "http://127.0.0.1:3000/client/index.html",
     "secure": false,
     "logLevel": "debug"
   }