add test to override values from config when args are present

This commit is contained in:
crapStone 2023-11-19 23:50:04 +01:00
parent 2238a57801
commit 5ed4ca2500
No known key found for this signature in database
GPG key ID: D74B82E7CDD863FE
2 changed files with 55 additions and 7 deletions

View file

@ -8,15 +8,15 @@ httpServerEnabled = true
mainDomain = 'codeberg.page'
rawDomain = 'raw.codeberg.page'
allowedCorsDomains = ['fonts.codeberg.org', 'design.codeberg.org']
blacklistedPaths = []
blacklistedPaths = ['do/not/use']
[gitea]
root = 'codeberg.org'
token = 'XXXXX'
token = 'XXXXXXXX'
lfsEnabled = true
followSymlinks = true
defaultMimeType = "application/wasm"
forbiddenMimeTypes = []
forbiddenMimeTypes = ["text/html"]
[database]
type = 'sqlite'
@ -27,7 +27,7 @@ email = 'a@b.c'
apiEndpoint = 'https://example.com'
acceptTerms = false
useRateLimits = true
eab_hmac = ''
eab_kid = ''
dnsProvider = ''
accountConfigFile = ''
eab_hmac = 'asdf'
eab_kid = 'qwer'
dnsProvider = 'cloudflare.com'
accountConfigFile = 'nope'