Add API token authentication support

This commit is contained in:
zeer
2026-04-25 21:01:51 +08:00
parent 7b8f4aae06
commit 7202071545
4 changed files with 74 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
PORT=3000
DB_PATH=./mail.db
APP_PASSWORD=change-this-password
API_TOKEN=change-this-token