From 5d7beebcfc837d6530d48adba540832eb1f05656 Mon Sep 17 00:00:00 2001 From: Dominik Noga Date: Fri, 22 Mar 2024 20:40:42 +0100 Subject: [PATCH 1/2] added config for netlify --- netlify.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..aa6a949 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,9 @@ +[build] + base = "ISD-conference-web-app-frontend" + command = "npm run build" + publish = "dist/" + + [[redirects]] + from = "/*" + to = "/index.html" + status = 200 \ No newline at end of file From eed184c4b35f6d02671aee63da8985bcc74acf81 Mon Sep 17 00:00:00 2001 From: Dominik Noga Date: Fri, 22 Mar 2024 20:57:42 +0100 Subject: [PATCH 2/2] modify output --- ISD-conference-web-app-frontend/angular.json | 2 +- netlify.toml | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 netlify.toml diff --git a/ISD-conference-web-app-frontend/angular.json b/ISD-conference-web-app-frontend/angular.json index 1c5dcde..6c2e4da 100644 --- a/ISD-conference-web-app-frontend/angular.json +++ b/ISD-conference-web-app-frontend/angular.json @@ -17,7 +17,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "dist/isd-conference-web-app-frontend", + "outputPath": "dist/", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index aa6a949..0000000 --- a/netlify.toml +++ /dev/null @@ -1,9 +0,0 @@ -[build] - base = "ISD-conference-web-app-frontend" - command = "npm run build" - publish = "dist/" - - [[redirects]] - from = "/*" - to = "/index.html" - status = 200 \ No newline at end of file