Skip to content

Commit

Permalink
默认 jsonEnabled: false
Browse files Browse the repository at this point in the history
  • Loading branch information
k8w committed Jun 8, 2021
1 parent 67c0306 commit 209c963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/http/HttpServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export const defaultHttpServerOptions: HttpServerOptions<any> = {
...defaultBaseServerOptions,
port: 3000,
cors: process.env['NODE_ENV'] === 'production' ? undefined : '*',
jsonEnabled: true,
jsonEnabled: false,
jsonHostPath: '/',
jsonPrune: true

Expand Down

0 comments on commit 209c963

Please sign in to comment.