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

Commit 76e0100

Browse files
authored
fix: cors (#23)
1 parent bc1e39e commit 76e0100

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ async function bootstrap() {
1616
});
1717

1818
app.use(apiToolkitClient.expressMiddleware);
19+
app.enableCors();
1920
await app.listen(3000);
2021
}
2122
bootstrap();

0 commit comments

Comments
 (0)