From d27c8382de377d79dd2481f47b3b048150256c59 Mon Sep 17 00:00:00 2001 From: Dimas Wiese Date: Mon, 16 Mar 2026 00:34:06 +0100 Subject: [PATCH] Add serve.json for URL rewrites; update angular.json for formatting and structure --- angular.json | 27 +++++++++++++++++++++++---- src/serve.json | 5 +++++ 2 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 src/serve.json diff --git a/angular.json b/angular.json index ecdcac3..72348f2 100644 --- a/angular.json +++ b/angular.json @@ -29,11 +29,27 @@ "glob": "**/*.svg", "input": "node_modules/ionicons/dist/ionicons/svg", "output": "./svg" + }, + { + "glob": "serve.json", + "input": "src", + "output": "/" + }, + { + "glob": "serve.json", + "input": "src", + "output": "/" } ], - "styles": ["src/global.scss", "src/theme/variables.scss"], + "styles": [ + "src/global.scss", + "src/theme/variables.scss" + ], "scripts": [], - "allowedCommonJsDependencies": ["sdp", "webrtc-adapter"] + "allowedCommonJsDependencies": [ + "sdp", + "webrtc-adapter" + ] }, "configurations": { "production": { @@ -112,7 +128,10 @@ "output": "./svg" } ], - "styles": ["src/global.scss", "src/theme/variables.scss"], + "styles": [ + "src/global.scss", + "src/theme/variables.scss" + ], "scripts": [] }, "configurations": { @@ -148,4 +167,4 @@ "styleext": "scss" } } -} +} \ No newline at end of file diff --git a/src/serve.json b/src/serve.json new file mode 100644 index 0000000..2775383 --- /dev/null +++ b/src/serve.json @@ -0,0 +1,5 @@ +{ + "rewrites": [ + { "source": "/**", "destination": "/index.html" } + ] +}