Skip to content

Commit

Permalink
feat: Enable CORS for localhost:8100
Browse files Browse the repository at this point in the history
  • Loading branch information
letehaha committed Jan 26, 2024
1 parent dd19fd8 commit a3ab0a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ app.use(
cors({
origin(requestOrigin, callback) {
const ALLOWED_HOSTS = [
'127.0.0.1:8100',
'budget-tracker.com:8100',
'206.81.20.28:8081',
'gamanets.money',
Expand Down

0 comments on commit a3ab0a4

Please sign in to comment.