in preparation for external healthchecks and the admin backend. We define a couple test routes: - / List all routes - /ping Replies pong for online-checks - /stats Get high-level bot statistics - /most-recent-drop Returns the most recent entry from dropHistories The last two routes require a valid apikey header. All routes are prefixed by /api/v1
12 lines
142 B
Plaintext
12 lines
142 B
Plaintext
NODE_ENV=production
|
|
TOKEN=
|
|
GUILD_ID=
|
|
DB_HOST=mysql
|
|
DB_USERNAME=
|
|
DB_PASSWORD=
|
|
DB_DATABASE=
|
|
DB_ROOTPW=
|
|
DB_PORT=
|
|
API_PORT=3080
|
|
API_ACCESS_TOKEN=
|