Use @apollographql/graphql-playground-html in apollo-server-micro

This commit is contained in:
Martijn Walraven 2018-08-10 22:59:07 +02:00
parent 809d8bccb1
commit 7cc9dac08d
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@
"accept": "^3.0.2",
"apollo-server-core": "2.0.0",
"apollo-upload-server": "^5.0.0",
"graphql-playground-html": "^1.6.0",
"@apollographql/graphql-playground-html": "^1.6.0",
"micro": "^9.3.2"
},
"devDependencies": {

View file

@ -2,7 +2,7 @@ import { ApolloServerBase, GraphQLOptions } from 'apollo-server-core';
import { processRequest as processFileUploads } from 'apollo-upload-server';
import { ServerResponse } from 'http';
import { send } from 'micro';
import { renderPlaygroundPage } from 'graphql-playground-html';
import { renderPlaygroundPage } from '@apollographql/graphql-playground-html';
import { parseAll } from 'accept';
import { graphqlMicro } from './microApollo';