Migrated from main API

This commit is contained in:
Profitroll
2022-12-20 01:22:32 +01:00
parent ae19e362b7
commit 0067a5915e
12 changed files with 789 additions and 0 deletions

16
config_example.json Normal file
View File

@@ -0,0 +1,16 @@
{
"database": {
"name": "photos",
"host": "127.0.0.1",
"port": 27017,
"user": null,
"password": null
},
"messages": {
"key_expired": "API key expired",
"key_invalid": "Invalid API key",
"key_valid": "Valid API key",
"bad_request": "Bad request. Read the docs at photos.end-play.xyz/docs",
"ip_blacklisted": "Your IP is blacklisted. Make sure you are using correct API address."
}
}