diff --git a/config.graphql b/config.graphql index 95a3c65..dd4b246 100644 --- a/config.graphql +++ b/config.graphql @@ -1,5 +1,5 @@ schema - @server(port: 8080, headers: {cors: {allowOrigins: ["*"], allowHeaders: ["*"], allowMethods: [POST, GET, OPTIONS]}}) + @server(hostname: "0.0.0.0", port: 8080, headers: {cors: {allowOrigins: ["*"], allowHeaders: ["*"], allowMethods: [POST, GET, OPTIONS]}}) @upstream(baseURL: "http://jsonplaceholder.typicode.com", httpCache: 42, batch: {delay: 100}) { query: Query }