This commit is contained in:
root committed 2018-08-17 23:49:50 +08:00
1 parent 06f237314c
commit 1f326715fd
1 file changed
+1
+1
View File
@@ -8,6 +8,7 @@ const app = new Koa()
app.use(koaLogger())
app.use(cors({
credentials: true,
origin: (c) => {
return c.get('Origin')
}