Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: cors (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bashamega authored Sep 20, 2024
1 parent bc1e39e commit 76e0100
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ async function bootstrap() {
});

app.use(apiToolkitClient.expressMiddleware);
app.enableCors();
await app.listen(3000);
}
bootstrap();

0 comments on commit 76e0100

Please sign in to comment.