This commit is contained in:
vipg
2026-02-09 17:54:00 +08:00
parent 2ae47c5049
commit 65353ee4a2
3 changed files with 50 additions and 2 deletions

View File

@@ -66,7 +66,8 @@ func routes() http.Handler {
svc := service.New(repo)
h := handler.New(svc)
cors := httpx.CORS()
return cors(router.New(h))
reqID := httpx.RequestID()
return reqID(cors(router.New(h)))
}
func applySchema(path string) error {