We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbf206a commit eefa8a5Copy full SHA for eefa8a5
1 file changed
src/backend/index.ts
@@ -44,6 +44,7 @@ const allowedOrigins = [
44
45
const options: cors.CorsOptions = {
46
origin: (origin, callback) => {
47
+ // allow requests with no origin like postman or curl requests
48
if (!origin) return callback(null, true);
49
50
if (allowedOrigins.includes(origin)) {
0 commit comments