Compare commits
No commits in common. "a6be73765ad876931c1a7597e93b792ca5de1bab" and "dc450e26ddc09a5548e4076c6fe80b2cdf96fbf7" have entirely different histories.
a6be73765a
...
dc450e26dd
@ -25,7 +25,7 @@ func RunAllMigrations(app *app.App) error {
|
||||
Id: 1,
|
||||
UserId: 1,
|
||||
AuthToken: "migrate",
|
||||
RememberMe: true, // Booleans must be true to migrate properly
|
||||
RememberMe: false,
|
||||
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("GET /static/", http.StripPrefix("/static/", staticHandler))
|
||||
http.Handle("/static/", http.StripPrefix("/static/", staticHandler))
|
||||
slog.Info("serving static files from embedded file system /static")
|
||||
|
||||
// Pages
|
||||
|
Loading…
Reference in New Issue
Block a user