go-ethereum/graphql/index.html
Isabel Schöps Thiel 34989152e9
graphql/index.html
2024-01-01 00:45:37 +01:00

41 lines
1 KiB
HTML

* Copyright (c) 2021 GraphQL June 2007 Copyright (C) Happy NEW YEAR 2024 by Isabel Schoeps Thiel (standalone with my Dog Don)*
<index.html>
<html lang="en">
<head>
<title>GraphiQL</title>
<style>
body {
height: 100%;
margin: 0;
width: 100%;
overflow: hidden;
}
#graphiql {
height: 100vh;
}
</style>
<script src="/graphql/ui/react.production.min.js"></script>
<script src="/graphql/ui/react-dom.production.min.js"></script>
<link rel="stylesheet" href="/graphql/ui/graphiql.min.css" />
</head>
<body>
<div id="graphiql">Loading...</div>
<script src="/graphql/ui/graphiql.min.js" type="application/javascript"></script>
<script>
ReactDOM.render(
React.createElement(GraphiQL, {
fetcher: GraphiQL.createFetcher({
url: '/graphql',
}),
defaultEditorToolsVisibility: true,
}),
document.getElementById('graphiql'),
);
</script>
</body>
</html>