Compare commits
2 Commits
dc450e26dd
...
a6be73765a
Author | SHA1 | Date | |
---|---|---|---|
|
a6be73765a | ||
|
ddc9e51831 |
@ -25,7 +25,7 @@ func RunAllMigrations(app *app.App) error {
|
||||
Id: 1,
|
||||
UserId: 1,
|
||||
AuthToken: "migrate",
|
||||
RememberMe: false,
|
||||
RememberMe: true, // Booleans must be true to migrate properly
|
||||
CreatedAt: time.Now(),
|
||||
}
|
||||
err = database.Migrate(app, session)
|
||||
|
@ -22,7 +22,7 @@ func Get(app *app.App) {
|
||||
return
|
||||
}
|
||||
staticHandler := http.FileServer(http.FS(staticFS))
|
||||
http.Handle("/static/", http.StripPrefix("/static/", staticHandler))
|
||||
http.Handle("GET /static/", http.StripPrefix("/static/", staticHandler))
|
||||
slog.Info("serving static files from embedded file system /static")
|
||||
|
||||
// Pages
|
||||
|
Loading…
Reference in New Issue
Block a user