Updating config to TOML (JSON sucks! I hate it! We shouldn't use it!)
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"AllowFreshAdminGeneration": true,
|
||||
"AdminEmails": ["admin@admin.invalid"],
|
||||
"AdminHmacEnv": "ADMIN_HMAC_ENV",
|
||||
"UserHmacEnv": "USER_HMAC_ENV",
|
||||
"AuthedRateLimitConfig": "ratelimit.auth.json",
|
||||
"UnauthedRateLimitConfig": "ratelimit.unauth.json",
|
||||
|
||||
"DbDialect": "sqlite",
|
||||
"DbUrl": "prepack.db",
|
||||
"DbUsername": "",
|
||||
"DbPasswordSecret": "",
|
||||
"DbPort": "",
|
||||
"DbName": ""
|
||||
}
|
||||
13
config/dev/conf.toml
Normal file
13
config/dev/conf.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
AllowFreshAdminGeneration = true
|
||||
AdminEmails = ["admin@admin.invalid"]
|
||||
AdminHmacEnv = "ADMIN_HMAC_ENV"
|
||||
UserHmacEnv = "USER_HMAC_ENV"
|
||||
AuthedRateLimitConfig = "ratelimit.auth.json"
|
||||
UnauthedRateLimitConfig = "ratelimit.unauth.json"
|
||||
|
||||
DbDialect = "sqlite"
|
||||
DbUrl = "prepack.db"
|
||||
DbUsername = ""
|
||||
DbPasswordSecret = ""
|
||||
DbPort = ""
|
||||
DbName = ""
|
||||
Reference in New Issue
Block a user