move to / subpath
All checks were successful
publish.yml / publish (push) Successful in 1m11s

This commit is contained in:
2026-04-10 12:45:37 +02:00
parent dd765b8522
commit ce135f6bf2
4 changed files with 6 additions and 6 deletions

View File

@@ -7,6 +7,6 @@ RUN npm run build
FROM nginx:alpine-slim FROM nginx:alpine-slim
EXPOSE 80 EXPOSE 80
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist/website/browser /usr/share/nginx/html/web COPY --from=build /app/dist/website/browser /usr/share/nginx/html
ENTRYPOINT ["nginx", "-g", "daemon off;"] ENTRYPOINT ["nginx", "-g", "daemon off;"]

View File

@@ -16,7 +16,7 @@
"build": { "build": {
"builder": "@angular/build:application", "builder": "@angular/build:application",
"options": { "options": {
"baseHref": "/web/", "baseHref": "",
"browser": "src/main.ts", "browser": "src/main.ts",
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"assets": [ "assets": [

View File

@@ -3,7 +3,7 @@ server {
root /usr/share/nginx/html; root /usr/share/nginx/html;
location /web/ { location / {
try_files $uri $uri/ /web/index.html; try_files $uri $uri/ /index.html;
} }
} }

View File

@@ -27,7 +27,7 @@ a {
[role='button'], [role='button'],
input[type='submit'], input[type='submit'],
input[type='button'] { input[type='button'] {
cursor: url('/web/cursor.svg') 0 0, auto; cursor: url('/cursor.svg') 0 0, auto;
} }
a, a,
@@ -40,7 +40,7 @@ a {
input[type='radio'], input[type='radio'],
input[type='submit'], input[type='submit'],
input[type='button'] { input[type='button'] {
cursor: url('/web/cursor.svg') 0 0, pointer; cursor: url('/cursor.svg') 0 0, pointer;
} }
input, input,