Skip to content

Commit e36fe1d

Browse files
committed
Update CORS settings to allow requests from GitHub Pages
1 parent 6b68d34 commit e36fe1d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ let allowedOrigins = [
2020
'http://localhost:8080',
2121
'http://localhost:4200',
2222
'https://flickpick-1911bf3985c5.herokuapp.com',
23-
'http://localhost:1234',
24-
'https://myflickpick.netlify.app'
23+
'http://localhost:1234',
24+
'https://myflickpick.netlify.app',
25+
'https://codestun.github.io'
2526
];
2627

2728
app.use(cors({

0 commit comments

Comments
 (0)