miniwol/example/config.toml
adro c56ba425c7 Session refresh, shorter default ttl
- Session cookies also no longer expire on the client
2022-02-23 13:34:52 +01:00

13 lines
431 B
TOML

Server = ":8080" # The address the webserver should bind to
PassHash = "$2a$10$I.26oCzkjZ8qwfhbmeYM3.kppBjxtPsxkeE1Y.ULjVvA1IBPcQP42" # "password"
SessionTTL = 10 # How many minutes sessions last for
[[Devices]]
Alias = "SomeDevice"
MAC = "DE-AD-BE-EF-F0-05" # Delimiter dashes/colons, upper/lowercase
IP = "192.168.178.255" # Broadcast for most home networks
[[Devices]]
Alias = "Another Device"
MAC = ""
IP = ""