mirror of
https://github.com/vale981/apollo-server
synced 2025-03-05 17:51:40 -05:00
Use @apollographql/graphql-playground-html in apollo-server-micro
This commit is contained in:
parent
809d8bccb1
commit
7cc9dac08d
2 changed files with 2 additions and 2 deletions
|
@ -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": {
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue