Skip to content

Commit

Permalink
Fix playground
Browse files Browse the repository at this point in the history
  • Loading branch information
andaaron committed Oct 6, 2022
1 parent 8f19bea commit eb30277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/debug/gqlplayground/gqlplayground.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func SetupGQLPlaygroundRoutes(conf *config.Config, router *mux.Router,
log := log.Logger{Logger: l.With().Caller().Timestamp().Logger()}
log.Info().Msg("setting up graphql playground route")

templ, err := template.ParseFS(playgroundHTML, "gqlplayground/index.html.tmpl")
templ, err := template.ParseFS(playgroundHTML, "index.html.tmpl")
if err != nil {
log.Fatal().Err(err)
}
Expand All @@ -43,7 +43,7 @@ func SetupGQLPlaygroundRoutes(conf *config.Config, router *mux.Router,
proto += "https://"
}

target := proto + req.Host + constants.ExtSearchPrefix
target := proto + req.Host + constants.V2ExtSearchPrefix

// respond with the output of template execution
_ = templ.Execute(writer, struct {
Expand Down

0 comments on commit eb30277

Please sign in to comment.