%= stylesheet_pack_tag("decidim_api_graphiql") %>
<%= javascript_pack_tag("decidim_api_graphiql", defer: false) %>
Loading...
<%
js_configs = {
graphql_endpoint: graphql_endpoint_path,
default_query: Decidim::GraphiQL::Rails.config.initial_query,
request_headers: JSON.pretty_generate(Decidim::GraphiQL::Rails.config.resolve_headers(self))
}
%>