fix pipeline
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Urban Modig
2025-10-12 21:09:04 +02:00
parent fa613adde5
commit ac2491f3c5
2 changed files with 18 additions and 2 deletions

16
.docker/nginx.conf Normal file
View File

@ -0,0 +1,16 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# gzip för statiska assets
gzip on;
gzip_types text/plain text/css application/javascript application/json image/svg+xml;
# Single Page App fallback
location / {
try_files $uri /index.html;
}
}

View File

@ -41,8 +41,8 @@ steps:
# Build args → styr Vite och proxybas
build_args:
- VITE_API_BASE_URL=${VITE_API_BASE_URL}
- VITE_BASE_PATH=/hemhub/
- VITE_API_BASE_URL=https://rubble.se/hemhub/api
- VITE_BASE_PATH=/hemhub/app
# Taggar (latest + kort SHA)
tags: