initial commit (backend) (pending TODOs, will amend)
This commit is contained in:
12
data/example-config.toml
Normal file
12
data/example-config.toml
Normal file
@@ -0,0 +1,12 @@
|
||||
[advent]
|
||||
# advent's year
|
||||
year = YEAR_HERE
|
||||
|
||||
# leaderboard's ID
|
||||
leaderboard = ID_HERE
|
||||
|
||||
# how long to retain successful leaderboard responses
|
||||
# validity = "15 minutes"
|
||||
|
||||
# how long to retain a failed request for
|
||||
# fail_validity = "30 seconds"
|
||||
1
data/test/aoc-response.json
Normal file
1
data/test/aoc-response.json
Normal file
File diff suppressed because one or more lines are too long
5
data/test/srv-config.toml
Normal file
5
data/test/srv-config.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[advent]
|
||||
year = 0
|
||||
leaderboard = 0
|
||||
validity = "5s"
|
||||
fail_validity = "2s"
|
||||
Reference in New Issue
Block a user