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
|
|
|
|
2023-12-09 15:35:33 +00:00
|
|
|
[discord]
|
2023-12-10 00:52:59 +00:00
|
|
|
; discord id of the bot
|
2023-12-09 15:35:33 +00:00
|
|
|
id="1234567890..."
|
2023-12-10 00:52:59 +00:00
|
|
|
; oauth2 client secret
|
2023-12-09 15:35:33 +00:00
|
|
|
secret="abcdefg..."
|
|
|
|
; discord bot token
|
|
|
|
token="OTK...."
|
2023-12-13 22:52:16 +00:00
|
|
|
; server id
|
|
|
|
guild="1234567890..."
|
2023-12-09 15:35:33 +00:00
|
|
|
|
2023-11-01 21:51:14 +00:00
|
|
|
[output]
|
|
|
|
; level of logging
|
2023-12-10 00:52:59 +00:00
|
|
|
; info = backend logs
|
|
|
|
; time = backend logs + time taken for database queries
|
2023-11-02 17:50:52 +00:00
|
|
|
; prod = only errors
|
2023-11-03 23:48:50 +00:00
|
|
|
level="info"
|
|
|
|
|
|
|
|
[api]
|
|
|
|
; port to listen on
|
2023-11-27 18:53:28 +00:00
|
|
|
port=":3000"
|
2023-12-07 23:25:17 +00:00
|
|
|
; host that the api is running on
|
|
|
|
; e.g. if you are running the api on your local machine, you would set this to 127.0.0.1
|
|
|
|
; if you are running the api on a server, you would set this to the ip of the server or the domain name
|
2024-01-04 19:02:14 +00:00
|
|
|
host="127.0.0.1"
|
2023-11-03 23:48:50 +00:00
|
|
|
|
|
|
|
[jwt]
|
|
|
|
; secret for jwt signing
|
2023-11-05 01:58:00 +00:00
|
|
|
secret="secret"
|
|
|
|
|
|
|
|
[fortnite]
|
2023-11-05 22:08:53 +00:00
|
|
|
; used for account creation + lobby
|
2023-11-20 23:20:42 +00:00
|
|
|
build=5.41
|
|
|
|
; own every cosmetic in the game. this applies to all accounts
|
2023-11-27 18:53:28 +00:00
|
|
|
everything=true
|