[FIX] Fix some securiry issues

This commit is contained in:
NADAL Jean-Baptiste
2026-02-18 15:27:55 +01:00
parent 3abc6f6371
commit 039cecc4a6
15 changed files with 2179 additions and 200 deletions

11
partitions/.env.example Normal file
View File

@@ -0,0 +1,11 @@
# Frontend Environment Variables
# Copy this file to .env and update the values
# API Configuration
# Use HTTPS in production!
VITE_API_URL=http://localhost:8000
# Security Notes:
# - Always use HTTPS in production
# - Never commit the .env file with real secrets
# - The JWT token is stored in localStorage (consider migrating to httpOnly cookies for better security)