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,10 +1,9 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// Application base path configuration
// Can be overridden with VITE_BASE_PATH environment variable
// This should match the base path used in nginx/reverse proxy configuration
const BASE_PATH = process.env.VITE_BASE_PATH || (process.env.NODE_ENV === 'production' ? '/drones/' : '/')
// Application base path configuration from environment variables
// Set VITE_BASE_PATH in .env files to configure the deployment path
const BASE_PATH = process.env.VITE_BASE_PATH || '/'
export default defineConfig({
plugins: [react()],