npm install --save koa2-cors. Usage. var Koa = require('koa'); var cors = require('koa2-cors'); var app = new Koa(); app.use(cors());. Options. origin.
確定! 回上一頁