2023-10-31 22:40:14 +00:00
|
|
|
[database]
|
|
|
|
; connect string
|
|
|
|
uri="host=localhost user=postgres password=pass dbname=snow port=5432 sslmode=disable"
|
|
|
|
; postgres
|
2023-11-01 21:51:14 +00:00
|
|
|
type="postgres"
|
2023-11-02 17:50:52 +00:00
|
|
|
; drop all tables at start of program
|
|
|
|
drop=false
|
2023-11-01 21:51:14 +00:00
|
|
|
|
|
|
|
[output]
|
|
|
|
; level of logging
|
2023-11-02 17:50:52 +00:00
|
|
|
; info = everything
|
|
|
|
; time = only time taken
|
|
|
|
; prod = only errors
|
2023-11-03 23:48:50 +00:00
|
|
|
level="info"
|
|
|
|
|
|
|
|
[api]
|
|
|
|
; port to listen on
|
|
|
|
port=80
|
|
|
|
; host to listen on
|
|
|
|
; only change if you know what you're doing
|
|
|
|
host="0.0.0.0"
|
|
|
|
|
|
|
|
[jwt]
|
|
|
|
; secret for jwt signing
|
2023-11-05 01:58:00 +00:00
|
|
|
secret="secret"
|
|
|
|
|
|
|
|
[fortnite]
|
|
|
|
; the game build to use
|
|
|
|
build=2.5
|