Skip to content

Commit fbf206a

Browse files
committed
pretier
1 parent c35c393 commit fbf206a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/backend/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ const allowedOrigins = [
4545
const options: cors.CorsOptions = {
4646
origin: (origin, callback) => {
4747
if (!origin) return callback(null, true);
48-
48+
4949
if (allowedOrigins.includes(origin)) {
5050
return callback(null, true);
5151
}
52-
52+
5353
callback(new Error('Not allowed by CORS'));
5454
},
5555
methods: 'GET, POST, DELETE',

0 commit comments

Comments
 (0)