[add] better xpath generation, [add] wake lock, [add] device sorting,

[fix] better theme management
This commit is contained in:
2023-10-13 21:06:49 -04:00
parent 4da3f19c1a
commit 5d9c0804bd
7 changed files with 491 additions and 35 deletions

View File

@@ -53,7 +53,7 @@ func NewApi(db *database.DBManager, c *config.Config) *API {
// Configure Cookie Session Store
store := cookie.NewStore(newToken)
store.Options(sessions.Options{
MaxAge: 60 * 60 * 24 * 7,
MaxAge: 60 * 60 * 24 * 7,
Secure: true,
HttpOnly: true,
SameSite: http.SameSiteStrictMode,