fix(joyent-cp-gql-mock-server): enable cors

This commit is contained in:
Sérgio Ramos 2017-06-01 18:28:40 +01:00
parent 96fae2b95d
commit c7faaffbfa

View File

@ -20,7 +20,10 @@ const handlerError = err => {
}; };
server.connection({ server.connection({
port: 3000 port: 3000,
routes: {
cors: true
}
}); });
server.register( server.register(