diff --git a/internal/handlers/public/routes.go b/internal/handlers/public/routes.go index f704936..29dd434 100644 --- a/internal/handlers/public/routes.go +++ b/internal/handlers/public/routes.go @@ -42,7 +42,7 @@ func NewRouter(deps Dependencies) *gin.Engine { c.String(http.StatusOK, "ok") }) - r.Static("/static", "web/static") + r.StaticFS("/static", gin.Dir("web/static", false)) webhookHandler := &WebhookHandler{deps: deps} r.POST("/webhooks/forgejo/:repoSlug", webhookHandler.HandleForgejoWebhook)