Fix jwt-token
This commit is contained in:
2
.env
2
.env
@@ -1,7 +1,7 @@
|
|||||||
# Environment Configuration
|
# Environment Configuration
|
||||||
|
|
||||||
# Application Base Path
|
# Application Base Path
|
||||||
VITE_BASE_PATH=/uggla/
|
VITE_BASE_PATH=/
|
||||||
|
|
||||||
# For local development, these will be auto-configured based on 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
|
# For production/domain deployment, these will use relative URLs based on base path
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ RUN npm install --production=false
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build arguments for environment variables
|
# Build arguments for environment variables
|
||||||
ARG VITE_BASE_PATH=/uggla/
|
ARG VITE_BASE_PATH=/
|
||||||
ARG VITE_API_URL
|
ARG VITE_API_URL
|
||||||
ARG NODE_ENV=production
|
ARG NODE_ENV=production
|
||||||
|
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ services:
|
|||||||
context: ./client
|
context: ./client
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
VITE_BASE_PATH: ${VITE_BASE_PATH:-/uggla/}
|
VITE_BASE_PATH: ${VITE_BASE_PATH:-/}
|
||||||
VITE_API_URL: ${VITE_API_URL:-}
|
VITE_API_URL: ${VITE_API_URL:-}
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
container_name: drone-detection-frontend
|
container_name: drone-detection-frontend
|
||||||
|
|||||||
Reference in New Issue
Block a user