添加跨域请求

This commit is contained in:
龙澳
2026-03-23 15:41:37 +08:00
parent f21ca3b085
commit f92822952d
2 changed files with 14 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
AUTH_DB_PATH=~/.nanobot/auth_service.sqlite3
AUTH_JWT_SECRET=change-this-secret
AUTH_TOKEN_TTL_HOURS=24
AUTH_CORS_ORIGINS=*
AUTH_CORS_ORIGINS=http://127.0.0.1:5173,http://localhost:5173,http://47.122.113.65:5173
AUTH_VERIFICATION_CODES=code-a,code-b
AUTH_ADMIN_KEY=change-this-admin-key
AUTH_HOST=0.0.0.0