From bd1d10e65a218084b751da7023a981c6a7d8851b Mon Sep 17 00:00:00 2001 From: Shashi Kant Date: Wed, 29 May 2024 14:23:39 +0530 Subject: [PATCH] adding hostname --- config.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }