Skip to content

Commit

Permalink
Merge pull request #83 from pinanks/increase-allowed-resource-size
Browse files Browse the repository at this point in the history
Add fastify server logs
  • Loading branch information
arushsaxena1998 authored May 14, 2024
2 parents a9fa6e3 + 553faaa commit d46ff99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import constants from './constants.js';

export default async (ctx: Context): Promise<FastifyInstance<Server, IncomingMessage, ServerResponse>> => {

const server: FastifyInstance<Server, IncomingMessage, ServerResponse> = fastify({ logger: false, bodyLimit: 10000000 });
const server: FastifyInstance<Server, IncomingMessage, ServerResponse> = fastify({ logger: ctx.env.LT_SDK_DEBUG ? true : false, bodyLimit: 10000000 });
const opts: RouteShorthandOptions = {};
const SMARTUI_DOM = readFileSync(path.resolve(__dirname, 'dom-serializer.js'), 'utf-8');

Expand Down

0 comments on commit d46ff99

Please sign in to comment.