feat(auth): bearer token desteği ve çoklu origin ayarı ekle

- Authorization header ile Bearer token kimlik doğrulaması eklendi
- Token'ların localStorage'da saklanması desteği eklendi
- WEB_ALLOWED_ORIGINS ve WEB_ALLOWED_HOSTS konfigürasyonları eklendi
- Loop işlerinde profileId ve profileName alanları eklendi
- CORS ve Vite sunucusu için çoklu origin desteği sağlandı
This commit is contained in:
2026-01-04 15:20:12 +03:00
parent 45946e7c8e
commit 712af0c898
14 changed files with 85 additions and 18 deletions

View File

@@ -5,7 +5,6 @@ APP_USERNAME=qbuffer
APP_PASSWORD=changeme
JWT_SECRET=replace_me
APP_HOST=localhost
WEB_ORIGIN=http://localhost:5173
SERVER_PORT=3001
WEB_PORT=5173
POLL_INTERVAL_MS=3000
@@ -15,3 +14,4 @@ MAX_LOOP_LIMIT=1000
STALLED_RECOVERY_MS=300000
TIMER_POLL_MS=60000
NODE_ENV=development
WEB_ALLOWED_ORIGINS=http://192.168.1.205:5175,http://qbuffer.bee