diff --git a/src/index.ts b/src/index.ts index f2d7f8a..d2eecde 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,7 +19,7 @@ import { transformOpenapiYmlDoc, openapiYmlVersioner } from "@/utils/openapi-doc const packageJson = require("../package.json"); const app = new Hono(); -app.use(cors()); +app.use(cors({ origin: "*" })); app.use(csrf()); app.use(etag()); app.use(logger());