diff options
| author | netop://ウィビ <paul@webb.page> | 2026-04-27 13:32:01 -0700 |
|---|---|---|
| committer | netop://ウィビ <paul@webb.page> | 2026-04-27 13:32:01 -0700 |
| commit | ff44a665e9038de183df5ed0467500d697cf3a78 (patch) | |
| tree | be4236fb091f4a2dfc16b4f6de9223c6c526601d /example.ts | |
| parent | ab0a791cc0d75efe05ca8b6f9da8e21271fbf309 (diff) | |
| download | gq-ff44a665e9038de183df5ed0467500d697cf3a78.tar.gz gq-ff44a665e9038de183df5ed0467500d697cf3a78.zip | |
updates example and adds another one for remote testing
Diffstat (limited to 'example.ts')
| -rw-r--r-- | example.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ /*** UTILITY ------------------------------------------ ***/ -import { executeSchema, GraphQLHTTP, gql } from "./entry.ts"; +import { executeSchema, gql, GraphQLHTTP } from "./entry.ts"; const schema = executeSchema({ resolvers: { @@ -16,7 +16,7 @@ const schema = executeSchema({ const handler = GraphQLHTTP({ graphiql: true, - playgroundOptions: { version: "0.4.0" }, + playgroundOptions: { title: "Your GraphQL Server" }, schema }); |