From ecc04b4f34c9a1d03d0127d24290cfd0b1d3d578 Mon Sep 17 00:00:00 2001 From: kaw67872 <kawtar.laariche@iais.fraunhofer.de> Date: Sun, 6 Apr 2025 18:09:09 +0200 Subject: [PATCH] fix url --- angular.json | 4 +--- nginx.conf | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/angular.json b/angular.json index fd6e900..8bba54a 100644 --- a/angular.json +++ b/angular.json @@ -150,9 +150,7 @@ "maximumError": "2mb" } ], - "outputHashing": "all", - "baseHref": "/angular-frontend/" - }, + "outputHashing": "all" }, "development": { "optimization": false, "extractLicenses": false, diff --git a/nginx.conf b/nginx.conf index 5617e04..1ea3c73 100644 --- a/nginx.conf +++ b/nginx.conf @@ -7,7 +7,7 @@ server { location /v2/ { alias /usr/share/nginx/html/; index index.html; - try_files $uri $uri/ /index.html; + try_files $uri $uri/ /v2/index.html; } error_page 404 /v2/index.html; -- GitLab