Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayThomble committed Sep 23, 2024
1 parent 8c5f277 commit 0fec4fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const corsOptions = {
if (origin && /\.snapurl\.in$/.test(origin)) {
callback(null, true);
} else {
console.error(`CORS Error: Request from origin ${origin} is not allowed`);
callback(new Error('Only requests from snapurl.in subdomains are allowed.'));
}
} else {
Expand Down

0 comments on commit 0fec4fd

Please sign in to comment.