github.com/theQRL/go-zond@v0.1.1/graphql/internal/graphiql/index.html (about) 1 <!-- 2 * Copyright (c) 2021 GraphQL Contributors 3 * All rights reserved. 4 * 5 * This source code is licensed under the license found in the 6 * LICENSE file in the root directory of this source tree. 7 --> 8 <!DOCTYPE html> 9 <html lang="en"> 10 <head> 11 <title>GraphiQL</title> 12 <style> 13 body { 14 height: 100%; 15 margin: 0; 16 width: 100%; 17 overflow: hidden; 18 } 19 20 #graphiql { 21 height: 100vh; 22 } 23 </style> 24 25 <script src="/graphql/ui/react.production.min.js"></script> 26 <script src="/graphql/ui/react-dom.production.min.js"></script> 27 28 <link rel="stylesheet" href="/graphql/ui/graphiql.min.css" /> 29 </head> 30 31 <body> 32 <div id="graphiql">Loading...</div> 33 <script src="/graphql/ui/graphiql.min.js" type="application/javascript"></script> 34 <script> 35 ReactDOM.render( 36 React.createElement(GraphiQL, { 37 fetcher: GraphiQL.createFetcher({ 38 url: '/graphql', 39 }), 40 defaultEditorToolsVisibility: true, 41 }), 42 document.getElementById('graphiql'), 43 ); 44 </script> 45 </body> 46 </html>