From 426f9a1b96619aa132801bdeb95d12028bdc1bf5 Mon Sep 17 00:00:00 2001 From: Alexander Borg Date: Fri, 12 Sep 2025 22:29:00 +0200 Subject: [PATCH] Fix jwt-token --- .env | 2 +- client/Dockerfile | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 30228a5..34392df 100644 --- a/.env +++ b/.env @@ -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 diff --git a/client/Dockerfile b/client/Dockerfile index 9bfda90..e1b4990 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index c3f9dc6..3aadc9a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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