From 5cbb53996ef2ba78b7e2d3ba08d6f4f663b5b3dc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 27 May 2021 17:25:52 +0200 Subject: [PATCH] Fix deploy urls --- client/angular.json | 5 +++-- 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 @@ "tsConfig": "tsconfig.app.json", "polyfills": "src/polyfills.ts", "baseHref": "/", - "deployUrl": "client/", + "deployUrl": "", "stylePreprocessorOptions": { "includePaths": [ "src/sass/include" @@ -161,7 +161,8 @@ "p2p-media-loader-hlsjs", "video.js", "sha1", - "postcss" + "postcss", + "core-js/features/reflect" ], "scripts": [], "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 @@ "secure": false, "ws": true }, + "/client/assets": { + "target": "http://localhost:9000", + "secure": false + }, "/!(client)**": { "target": "http://localhost:3000/client/index.html", "secure": false,