assets
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Urban Modig
2025-10-12 22:20:24 +02:00
parent 6ed583f256
commit 1c1f22afe5
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -5,6 +5,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
import { fileURLToPath, URL } from 'node:url' import { fileURLToPath, URL } from 'node:url'
export default defineConfig({ export default defineConfig({
base: process.env.VITE_BASE_PATH || '/', // sätts i builden
plugins: [react(), tsconfigPaths()], plugins: [react(), tsconfigPaths()],
resolve: { resolve: {
alias: { alias: {