- graph, dotenv read
- graph, cors and secure header - web, urql client basic setup
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/99designs/gqlgen/graphql/handler"
|
||||
"github.com/99designs/gqlgen/graphql/handler/extension"
|
||||
"github.com/99designs/gqlgen/graphql/playground"
|
||||
"github.com/vektah/gqlparser/gqlerror"
|
||||
"github.com/vektah/gqlparser/v2/gqlerror"
|
||||
"gitserver.in/patialtech/rano/graph/generated"
|
||||
"gitserver.in/patialtech/rano/pkg/logger"
|
||||
)
|
||||
@@ -149,4 +149,5 @@ func GraphiQL(queryEndpoint string) func(w http.ResponseWriter, r *http.Request)
|
||||
func Query(w http.ResponseWriter, r *http.Request) {
|
||||
// srv.ServeHTTP(w, r.WithContext(userCtx(r)))
|
||||
srv.ServeHTTP(w, r)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user