miniwol/example/config.toml

14 lines
507 B
TOML
Raw Normal View History

2022-02-18 14:18:44 +00:00
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
2022-04-28 09:08:11 +00:00
StrictCookies = true # Whether to use the strict cookie policy (HTTPS Only)
2022-02-18 14:18:44 +00:00
[[Devices]]
2022-02-18 14:18:44 +00:00
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]]
2022-02-18 14:18:44 +00:00
Alias = "Another Device"
MAC = ""
IP = ""