diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-22 15:12:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-22 15:12:44 +0200 |
commit | 446d9f8cc7f12fbbf3d8643f5d3414822a18c51d (patch) | |
tree | 60b8deb176c548fd7d55ff2eefad76e143fdbb97 /client/e2e/proxy.config.json | |
parent | 26ff0279d08bc5d4cb13a2f71e314b05d544da89 (diff) | |
download | PeerTube-446d9f8cc7f12fbbf3d8643f5d3414822a18c51d.tar.gz PeerTube-446d9f8cc7f12fbbf3d8643f5d3414822a18c51d.tar.zst PeerTube-446d9f8cc7f12fbbf3d8643f5d3414822a18c51d.zip |
Fix e2e tests
Diffstat (limited to 'client/e2e/proxy.config.json')
-rw-r--r-- | client/e2e/proxy.config.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/client/e2e/proxy.config.json b/client/e2e/proxy.config.json new file mode 100644 index 000000000..00bda5eb7 --- /dev/null +++ b/client/e2e/proxy.config.json | |||
@@ -0,0 +1,37 @@ | |||
1 | { | ||
2 | "/api": { | ||
3 | "target": "http://localhost:9000", | ||
4 | "secure": false | ||
5 | }, | ||
6 | "/plugins": { | ||
7 | "target": "http://localhost:9000", | ||
8 | "secure": false | ||
9 | }, | ||
10 | "/themes": { | ||
11 | "target": "http://localhost:9000", | ||
12 | "secure": false | ||
13 | }, | ||
14 | "/static": { | ||
15 | "target": "http://localhost:9000", | ||
16 | "secure": false | ||
17 | }, | ||
18 | "/lazy-static": { | ||
19 | "target": "http://localhost:9000", | ||
20 | "secure": false | ||
21 | }, | ||
22 | "/socket.io": { | ||
23 | "target": "ws://localhost:9000", | ||
24 | "secure": false, | ||
25 | "ws": true | ||
26 | }, | ||
27 | "/!(client)**": { | ||
28 | "target": "http://localhost:3333/client/index.html", | ||
29 | "secure": false, | ||
30 | "logLevel": "debug" | ||
31 | }, | ||
32 | "/!(client)**/**": { | ||
33 | "target": "http://localhost:3333/client/index.html", | ||
34 | "secure": false, | ||
35 | "logLevel": "debug" | ||
36 | } | ||
37 | } | ||