mirror of https://github.com/Chocobozzz/PeerTube
Fix e2e tests
parent
26ff0279d0
commit
446d9f8cc7
|
@ -86,7 +86,8 @@
|
||||||
"options": {
|
"options": {
|
||||||
"baseHref": "/",
|
"baseHref": "/",
|
||||||
"deployUrl": "client/",
|
"deployUrl": "client/",
|
||||||
"browserTarget": "PeerTube:build"
|
"browserTarget": "PeerTube:build",
|
||||||
|
"proxyConfig": "proxy.config.json"
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
|
@ -96,7 +97,8 @@
|
||||||
"browserTarget": "PeerTube:build:hmr"
|
"browserTarget": "PeerTube:build:hmr"
|
||||||
},
|
},
|
||||||
"e2e": {
|
"e2e": {
|
||||||
"browserTarget": "PeerTube:build:e2e"
|
"browserTarget": "PeerTube:build:e2e",
|
||||||
|
"proxyConfig": "e2e/proxy.config.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"/api": {
|
||||||
|
"target": "http://localhost:9000",
|
||||||
|
"secure": false
|
||||||
|
},
|
||||||
|
"/plugins": {
|
||||||
|
"target": "http://localhost:9000",
|
||||||
|
"secure": false
|
||||||
|
},
|
||||||
|
"/themes": {
|
||||||
|
"target": "http://localhost:9000",
|
||||||
|
"secure": false
|
||||||
|
},
|
||||||
|
"/static": {
|
||||||
|
"target": "http://localhost:9000",
|
||||||
|
"secure": false
|
||||||
|
},
|
||||||
|
"/lazy-static": {
|
||||||
|
"target": "http://localhost:9000",
|
||||||
|
"secure": false
|
||||||
|
},
|
||||||
|
"/socket.io": {
|
||||||
|
"target": "ws://localhost:9000",
|
||||||
|
"secure": false,
|
||||||
|
"ws": true
|
||||||
|
},
|
||||||
|
"/!(client)**": {
|
||||||
|
"target": "http://localhost:3333/client/index.html",
|
||||||
|
"secure": false,
|
||||||
|
"logLevel": "debug"
|
||||||
|
},
|
||||||
|
"/!(client)**/**": {
|
||||||
|
"target": "http://localhost:3333/client/index.html",
|
||||||
|
"secure": false,
|
||||||
|
"logLevel": "debug"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue