diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-27 17:25:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-27 17:25:52 +0200 |
commit | 5cbb53996ef2ba78b7e2d3ba08d6f4f663b5b3dc (patch) | |
tree | b4fcd1ad3a21e002d8874786f209982ed9478220 /client | |
parent | 09e1784b7a10ee524c89a3078d48da21bdec58a4 (diff) | |
download | PeerTube-5cbb53996ef2ba78b7e2d3ba08d6f4f663b5b3dc.tar.gz PeerTube-5cbb53996ef2ba78b7e2d3ba08d6f4f663b5b3dc.tar.zst PeerTube-5cbb53996ef2ba78b7e2d3ba08d6f4f663b5b3dc.zip |
Fix deploy urls
Diffstat (limited to 'client')
-rw-r--r-- | client/angular.json | 5 | ||||
-rw-r--r-- | client/proxy.config.json | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/client/angular.json b/client/angular.json index c9d90d5ec..dc50bf709 100644 --- a/client/angular.json +++ b/client/angular.json | |||
@@ -138,7 +138,7 @@ | |||
138 | "tsConfig": "tsconfig.app.json", | 138 | "tsConfig": "tsconfig.app.json", |
139 | "polyfills": "src/polyfills.ts", | 139 | "polyfills": "src/polyfills.ts", |
140 | "baseHref": "/", | 140 | "baseHref": "/", |
141 | "deployUrl": "client/", | 141 | "deployUrl": "", |
142 | "stylePreprocessorOptions": { | 142 | "stylePreprocessorOptions": { |
143 | "includePaths": [ | 143 | "includePaths": [ |
144 | "src/sass/include" | 144 | "src/sass/include" |
@@ -161,7 +161,8 @@ | |||
161 | "p2p-media-loader-hlsjs", | 161 | "p2p-media-loader-hlsjs", |
162 | "video.js", | 162 | "video.js", |
163 | "sha1", | 163 | "sha1", |
164 | "postcss" | 164 | "postcss", |
165 | "core-js/features/reflect" | ||
165 | ], | 166 | ], |
166 | "scripts": [], | 167 | "scripts": [], |
167 | "vendorChunk": true, | 168 | "vendorChunk": true, |
diff --git a/client/proxy.config.json b/client/proxy.config.json index e7070522a..e9c6c4aff 100644 --- a/client/proxy.config.json +++ b/client/proxy.config.json | |||
@@ -24,6 +24,10 @@ | |||
24 | "secure": false, | 24 | "secure": false, |
25 | "ws": true | 25 | "ws": true |
26 | }, | 26 | }, |
27 | "/client/assets": { | ||
28 | "target": "http://localhost:9000", | ||
29 | "secure": false | ||
30 | }, | ||
27 | "/!(client)**": { | 31 | "/!(client)**": { |
28 | "target": "http://localhost:3000/client/index.html", | 32 | "target": "http://localhost:3000/client/index.html", |
29 | "secure": false, | 33 | "secure": false, |