diff --git a/internal/handlers/public/routes.go b/internal/handlers/public/routes.go index 1aa6cc7..e67f8fa 100644 --- a/internal/handlers/public/routes.go +++ b/internal/handlers/public/routes.go @@ -41,7 +41,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)