Skip to content

Commit

Permalink
fix: disable sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jan 26, 2024
1 parent 6a6bdba commit fe93cfc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/src/graphql/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const { GraphQLFileLoader } = require('@graphql-tools/graphql-file-loader')
const {
ApolloServerPluginDrainHttpServer,
} = require('@apollo/server/plugin/drainHttpServer')
const {
ApolloServerPluginLandingPageDisabled,
} = require('@apollo/server/plugin/disabled')

const config = require('@rm/config')

const { log, HELPERS } = require('@rm/logger')
Expand Down Expand Up @@ -76,6 +80,7 @@ async function startApollo(httpServer) {
error: (...e) => log.error(HELPERS.gql, ...e),
},
plugins: [
ApolloServerPluginLandingPageDisabled(),
ApolloServerPluginDrainHttpServer({ httpServer }),
{
async requestDidStart(requestContext) {
Expand Down

0 comments on commit fe93cfc

Please sign in to comment.