This commit is contained in:
2026-03-16 19:49:33 -04:00
parent 93707ff513
commit fd9afe86b0
22 changed files with 1188 additions and 224 deletions

View File

@@ -28,7 +28,7 @@ type server struct {
func New(c *config.Config, assets fs.FS) *server {
db := database.NewMgr(c)
ginAPI := api.NewApi(db, c, assets)
v1API := v1.NewServer(db, c)
v1API := v1.NewServer(db, c, assets)
// Create combined mux that handles both Gin and v1 API
mux := http.NewServeMux()