Fix jwt-token

This commit is contained in:
2025-09-06 15:24:29 +02:00
parent 215b06b5c1
commit 2ae6f9d7de
5 changed files with 15 additions and 11 deletions

View File

@@ -1,8 +1,7 @@
// Application configuration
// Application configuration from environment variables
export const APP_CONFIG = {
// Base path for the application in production
// Can be overridden with VITE_BASE_PATH environment variable
basePath: import.meta.env.VITE_BASE_PATH || (import.meta.env.PROD ? '/drones' : ''),
// Base path for the application (set via VITE_BASE_PATH)
basePath: import.meta.env.VITE_BASE_PATH || '',
// API configuration
api: {