mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
fix(joyent-cp-gql-mock-server): enable cors
This commit is contained in:
parent
96fae2b95d
commit
c7faaffbfa
@ -20,7 +20,10 @@ const handlerError = err => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
server.connection({
|
server.connection({
|
||||||
port: 3000
|
port: 3000,
|
||||||
|
routes: {
|
||||||
|
cors: true
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
server.register(
|
server.register(
|
||||||
|
Loading…
Reference in New Issue
Block a user