Skip to content

Commit 1d2a7fe

Browse files
author
lucifer
committed
fix: cors
1 parent c60bc89 commit 1d2a7fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ app.use(
1919
enableTypes: ["json", "form", "text"],
2020
})
2121
);
22-
app.use(cors({ origin: true, credentials: true }));
22+
app.use(cors({ credentials: true }));
2323
app.use(json());
2424
app.use(logger());
2525
app.use(require("koa-static")(__dirname + "/public"));

0 commit comments

Comments
 (0)