Reset project

This commit is contained in:
2025-05-25 10:14:48 +02:00
parent 542d28e7a9
commit 6e443de84f
197 changed files with 64591 additions and 1027 deletions

View File

@@ -24,6 +24,7 @@ func init() {
if debug {
programLevel = slog.LevelDebug
}
programLevel = slog.LevelDebug
if jsonLogger {
jsonHandler := slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
@@ -60,7 +61,7 @@ func main() {
mux.Handle("GET /static/", http.StripPrefix("/static/", fileServer))
mux.HandleFunc("GET /favicon.ico", func(w http.ResponseWriter, r *http.Request) {
data, err := static.ReadFile("web/static/img/favicon.ico")
data, err := static.ReadFile("web/static/favicon.ico")
if err != nil {
http.NotFound(w, r)
return