Skip to content

Commit a41082e

Browse files
committed
Fix Cors
1 parent 9af8cd3 commit a41082e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const io = new Server(server);
99

1010
// Enable CORS
1111
app.use(cors({
12-
origin: ['https://mri-planning-poker-7a37e47b6257.herokuapp.com', 'https://rdevans87.github.io/mri-planning-poker/'], // Include your GitHub Pages URL
12+
origin: ['https://mri-planning-poker-7a37e47b6257.herokuapp.com', 'http://localhost:300'], // Include your GitHub Pages URL
1313
methods: ['GET', 'POST'], // Allowed HTTP methods
1414
allowedHeaders: ['Content-Type'], // Allow specific headers
1515
credentials: true // If you need cookies or authorization headers

0 commit comments

Comments
 (0)