Skip to content

Commit

Permalink
Change: disable origin header
Browse files Browse the repository at this point in the history
  • Loading branch information
k7575 committed Jan 28, 2025
1 parent 73ef19e commit 76f90da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ const startServer = async () => {
try {
const openApiSpec = yaml.load(docs) as OpenAPIV3.Document;

fastify.register(cors, {
origin: "*",
});
// fastify.register(cors, {
// origin: "*",
// });

fastify.register(swagger, {
openapi: openApiSpec,
Expand Down

0 comments on commit 76f90da

Please sign in to comment.