diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/proxy.config.json | 10 | ||||
-rw-r--r-- | client/src/environments/environment.hmr.ts | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/client/proxy.config.json b/client/proxy.config.json new file mode 100644 index 000000000..d1f393672 --- /dev/null +++ b/client/proxy.config.json | |||
@@ -0,0 +1,10 @@ | |||
1 | { | ||
2 | "/api": { | ||
3 | "target": "http://localhost:9000", | ||
4 | "secure": false | ||
5 | }, | ||
6 | "/static": { | ||
7 | "target": "http://localhost:9000", | ||
8 | "secure": false | ||
9 | } | ||
10 | } | ||
diff --git a/client/src/environments/environment.hmr.ts b/client/src/environments/environment.hmr.ts index 20e2b8fcd..853e20803 100644 --- a/client/src/environments/environment.hmr.ts +++ b/client/src/environments/environment.hmr.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | export const environment = { | 1 | export const environment = { |
2 | production: false, | 2 | production: false, |
3 | hmr: true, | 3 | hmr: true, |
4 | apiUrl: 'http://localhost:9000' | 4 | apiUrl: '' |
5 | } | 5 | } |