Files
vue-cli/packages/@vue/cli-ui/server.js
Guillaume Chau da43343329 fix(CORS): only allow connections from the designated host (#4985)
* fix(cors): only allow localhost

* fix: use host so it's configurable

* fix: use cors options object

* feat: use a custom graphql-server instead of the one from apollo plugin

exports the httpServer instance

* fix: add CORS validation in the http upgrade request

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-02-03 19:35:40 +08:00

3 lines
88 B
JavaScript

exports.server = require('./graphql-server')
exports.portfinder = require('portfinder')