This commit is contained in:
@ -41,8 +41,8 @@ steps:
|
||||
|
||||
# Build args → styr Vite och proxybas
|
||||
build_args:
|
||||
- VITE_API_BASE_URL=https://rubble.se/hemhub/api
|
||||
- VITE_BASE_PATH=/hemhub/app
|
||||
- VITE_API_BASE_URL=https://rubble.se/hemhub/api/
|
||||
- VITE_BASE_PATH=/hemhub/app/
|
||||
|
||||
# Taggar (latest + kort SHA)
|
||||
tags:
|
||||
|
||||
@ -5,6 +5,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
import { fileURLToPath, URL } from 'node:url'
|
||||
|
||||
export default defineConfig({
|
||||
base: process.env.VITE_BASE_PATH || '/', // sätts i builden
|
||||
plugins: [react(), tsconfigPaths()],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in New Issue
Block a user