Skip to content

Commit

Permalink
fix: broken docker execution due to changed output path in Angular 17
Browse files Browse the repository at this point in the history
  • Loading branch information
tkubica-edu committed Aug 6, 2024
1 parent d63e204 commit 6ad6108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nginx.page.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6ad6108

Please sign in to comment.