feat: add API key protection for /api/monitoring endpoints
This commit is contained in:
@@ -42,6 +42,12 @@ VAPID_PRIVATE_KEY="UHDY8M3-0beVIA2kt2zL3ZeMStJ0j6zVkVd2Cfqpgrc"
|
||||
# API key for file operations (upload, delete, copy, view directory)
|
||||
WS_APIKEY="your-websocket-api-key"
|
||||
|
||||
# ===========================================
|
||||
# MONITORING API
|
||||
# ===========================================
|
||||
# API key untuk akses endpoint /api/monitoring (header: x-api-key)
|
||||
MONITORING_API_KEY="your-monitoring-api-key"
|
||||
|
||||
# ===========================================
|
||||
# APPLICATION SETTINGS
|
||||
# ===========================================
|
||||
|
||||
Reference in New Issue
Block a user