0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00

fix: incorrect path for playground template (#858)

Signed-off-by: Catalin Hofnar <catalin.hofnar@gmail.com>
This commit is contained in:
Catalin Hofnar 2022-10-07 11:29:11 +03:00 committed by GitHub
parent 9916449d88
commit 261615c880
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
}