Skip to content

Commit

Permalink
enabled cors and fix publish script (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored May 29, 2021
1 parent 3d0c13f commit 3e365d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/whale-api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ async function bootstrap (): Promise<void> {
AppModule.forRoot(),
newFastifyAdapter()
)
app.enableCors()
await app.listen(3000, '0.0.0.0')
}

Expand Down

0 comments on commit 3e365d1

Please sign in to comment.