From 6ad61080911c3d04be04d3a2ff63475893c60435 Mon Sep 17 00:00:00 2001 From: tkubica-edu Date: Tue, 6 Aug 2024 09:43:42 +0200 Subject: [PATCH] fix: broken docker execution due to changed output path in Angular 17 --- nginx.page.conf | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.page.conf b/nginx.page.conf index bcb58f5f..04a28877 100644 --- a/nginx.page.conf +++ b/nginx.page.conf @@ -4,11 +4,11 @@ server { # Serve supported languages from the respective directories. location /en-US/ { - alias /usr/share/nginx/html/en-US/; + alias /usr/share/nginx/html/browser/en-US/; try_files $uri /en-US/index.html; } location /de/ { - alias /usr/share/nginx/html/de/; + alias /usr/share/nginx/html/browser/de/; try_files $uri /de/index.html; } diff --git a/package.json b/package.json index 986787b4..9e7b015e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "cypress:local:open": "cd e2e-cypress && npm run cypress:local:open", "format": "prettier --write src", "docker-build": "docker build . --tag openeduhub/oeh-search-frontend:local", - "docker-run": "docker run --name oeh-search-frontend --rm -p 8080:80 --env EDU_SHARING_API_URL=https://redaktion-staging.openeduhub.net/edu-sharing/rest openeduhub/oeh-search-frontend:local", + "docker-run": "docker run --name oeh-search-frontend --rm -p 8080:80 --env EDU_SHARING_API_URL=https://repository.staging.openeduhub.net/edu-sharing/rest openeduhub/oeh-search-frontend:local", "extract-i18n": "ng extract-i18n oeh-search-frontend --output-path src/locale", "start-de": "ng serve --configuration=de", "generate": "graphql-codegen",