From d9a316d083286f7e6377843afb7250f8f44afe1c Mon Sep 17 00:00:00 2001 From: DirtyRacer1337 Date: Tue, 3 Jun 2025 07:13:14 +0700 Subject: [PATCH] add explorer plugin (#5882) --- internal/api/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/server.go b/internal/api/server.go index c2c798be2..5059e9a2a 100644 --- a/internal/api/server.go +++ b/internal/api/server.go @@ -207,7 +207,7 @@ func Initialize() (*Server, error) { r.HandleFunc(playgroundEndpoint, func(w http.ResponseWriter, r *http.Request) { setPageSecurityHeaders(w, r, pluginCache.ListPlugins()) 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())