21 lines
409 B
TOML
21 lines
409 B
TOML
# Glimmer Configuration
|
|
|
|
[server]
|
|
port = 8888
|
|
base_url = "http://luci.ooo"
|
|
read_timeout = "5s"
|
|
write_timeout = "10s"
|
|
|
|
[admin]
|
|
username = "admin"
|
|
# Default password: "admin" — change this!
|
|
# Generate a new hash: ./glimmer --hash-password "your-password"
|
|
password_hash = "$2a$10$WXBoF7ZB7fIRl5smdGH9seqlNbXWiCS7ZbGNk0ONb9xjS8499gBpu"
|
|
session_hours = 24
|
|
|
|
[database]
|
|
path = "./data/urls.db"
|
|
|
|
[slugs]
|
|
length = 3
|