Skip to content

Commit af7dbf0

Browse files
committed
chore: allow localhost:8000 for local development CORS
1 parent e441361 commit af7dbf0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

api/config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
export const ALLOWED_ORIGINS = [
55
'https://jasbanza.github.io', // GitHub Pages
66
'https://cctp-relayer.vercel.app', // Vercel (update with your actual domain)
7-
// Uncomment for local development:
8-
// 'http://localhost:3000',
9-
// 'http://localhost:8080',
7+
// Local development:
8+
'http://localhost:8000',
9+
'http://localhost:3000',
10+
'http://localhost:8080',
1011
];
1112

1213

0 commit comments

Comments
 (0)