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
EXPOSE 80
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;"]

View File

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

View File

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

View File

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