Skip to content

Commit

Permalink
feat: cors
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanCassiere committed Jun 23, 2024
1 parent 7c43bdb commit 23310d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { transformOpenapiYmlDoc, openapiYmlVersioner } from "@/utils/openapi-doc
const packageJson = require("../package.json");

const app = new Hono<ServerContext>();
app.use(cors());
app.use(cors({ origin: "*" }));
app.use(csrf());
app.use(etag());
app.use(logger());
Expand Down

0 comments on commit 23310d4

Please sign in to comment.