Fix jwt-token

This commit is contained in:
2025-09-12 22:29:00 +02:00
parent f778d9cb54
commit 426f9a1b96
3 changed files with 3 additions and 3 deletions

2
.env
View File

@@ -1,7 +1,7 @@
# Environment Configuration
# Application Base Path
VITE_BASE_PATH=/uggla/
VITE_BASE_PATH=/
# For local development, these will be auto-configured based on VITE_BASE_PATH
# For production/domain deployment, these will use relative URLs based on base path

View File

@@ -17,7 +17,7 @@ RUN npm install --production=false
COPY . .
# Build arguments for environment variables
ARG VITE_BASE_PATH=/uggla/
ARG VITE_BASE_PATH=/
ARG VITE_API_URL
ARG NODE_ENV=production

View File

@@ -95,7 +95,7 @@ services:
context: ./client
dockerfile: Dockerfile
args:
VITE_BASE_PATH: ${VITE_BASE_PATH:-/uggla/}
VITE_BASE_PATH: ${VITE_BASE_PATH:-/}
VITE_API_URL: ${VITE_API_URL:-}
NODE_ENV: production
container_name: drone-detection-frontend