refactor: replace via framework with chi + templ + datastar #2

Merged
ryan merged 9 commits from refactor/remove-via into main 2026-03-03 00:47:20 +00:00
Showing only changes of commit fcc6b70e84 - Show all commits

View File

@@ -4,6 +4,7 @@
package config
import (
"log/slog"
"os"
"sync"
@@ -46,7 +47,9 @@ func getEnv(key, fallback string) string {
}
func loadBase() *Config {
godotenv.Load() //nolint:errcheck // .env file is optional
if err := godotenv.Load(); err != nil {
slog.Warn("no .env file found, using environment variables and defaults")
}
return &Config{
Host: getEnv("HOST", "0.0.0.0"),