Fix jwt-token
This commit is contained in:
2
.env
2
.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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user