mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
add explorer plugin (#5882)
This commit is contained in:
parent
96d2b36a08
commit
d9a316d083
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ func Initialize() (*Server, error) {
|
||||||
r.HandleFunc(playgroundEndpoint, func(w http.ResponseWriter, r *http.Request) {
|
r.HandleFunc(playgroundEndpoint, func(w http.ResponseWriter, r *http.Request) {
|
||||||
setPageSecurityHeaders(w, r, pluginCache.ListPlugins())
|
setPageSecurityHeaders(w, r, pluginCache.ListPlugins())
|
||||||
endpoint := getProxyPrefix(r) + gqlEndpoint
|
endpoint := getProxyPrefix(r) + gqlEndpoint
|
||||||
gqlPlayground.Handler("GraphQL playground", endpoint)(w, r)
|
gqlPlayground.Handler("GraphQL playground", endpoint, gqlPlayground.WithGraphiqlEnablePluginExplorer(true))(w, r)
|
||||||
})
|
})
|
||||||
|
|
||||||
r.Mount("/performer", server.getPerformerRoutes())
|
r.Mount("/performer", server.getPerformerRoutes())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue