added the Policy page

This commit is contained in:
2026-03-04 22:18:57 -07:00
parent 50b5ef71b1
commit 137536923d
9 changed files with 162 additions and 1 deletions
+1
View File
@@ -66,6 +66,7 @@ type AmConfig struct {
LoginCookieAge int `yaml:"loginCookieAge"`
SessionExpire string `yaml:"sessionExpire"`
UserAgreementResource string `yaml:"userAgreementResource"`
PolicyResource string `yaml:"policyResource"`
} `yaml:"site"`
Database struct {
Driver string `yaml:"driver"`
+1
View File
@@ -14,6 +14,7 @@ site:
loginCookieAge: 365
sessionExpire: "3h"
userAgreementResource: "useragreement.html"
policyResource: "policy.html"
database:
driver: "mysql"
dsn: "amsdb:x00yes2k@tcp(localhost)/amsterdam?parseTime=true&loc=UTC"