Skip to content

Commit eb7dc77

Browse files
committed
fix: enable graphiql in stage server
1 parent d69604a commit eb7dc77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/velog-server/src/common/plugins/global/mercuriusPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const mercuriusPlugin: FastifyPluginAsync = async (fastify) => {
1212
logLevel: 'error',
1313
schema,
1414
resolvers: resolvers,
15-
graphiql: ENV.appEnv !== 'production',
15+
graphiql: ENV.dockerEnv !== 'production',
1616
context: (request, reply): GraphQLContext => {
1717
return {
1818
request,

0 commit comments

Comments
 (0)