highscore-server/config.example.toml
Manuel dc8c7bd2b6
Support for multiple games and keys per game, refactor, tweaks
* Update editorconfig for Dockerfile formatting
* Update Dockerfile to strip debug symbols
* Support pushing multiple highscores and use of Options to support traditional API mode
* Support sending and retrieving different highscore lists for a game based on a key
* Support retrieving partial highscore lists for client side pagination
* Use of vweb_global attribute for better performance (No mutex/shared variable) and immutability
* Support for a verification key that is used for checksumming score data with a private key to raise the difficulty for potential cheaters
* Add Logger for nicer console output and severity distinction
* Use of transactions in database for higher reliability
* Additional error checking for improved error recovery and reliability
2023-10-02 14:05:46 +02:00

17 lines
225 B
TOML

host = ""
port = 8080
token = "asd"
valkey = "asd"
redirect = false
redirect_url = ""
db_path = "./db/app.db"
loglevel = "warn"
origins = [
"*"
]
games = [
"mygame"
]
[valid_keys]
mygame = ["level1", "level2", "level3"]