mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
fix: incorrect path for playground template (#858)
Signed-off-by: Catalin Hofnar <catalin.hofnar@gmail.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user