0.0.1 • Published 8 years ago
y-server-plugin-cors v0.0.1
y-server-plugin-cors
y-server-plugin-cors is a y-server plugin to allow cors.
Install
npm install y-server-plugin-corsUsage
const yServer = require('y-server');
const corsPlugin = require('y-server-plugin-cors');
yServer({
  plugins: [
    corsPlugin(),
  ],
})Notes
pathis the path allow cors.
License
0.0.1
8 years ago