mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	chore: disable debug log of fastify
This commit is contained in:
		
							parent
							
								
									f9549e1f1b
								
							
						
					
					
						commit
						428d39a460
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -73,7 +73,7 @@ export class ServerService implements OnApplicationShutdown {
 | 
				
			||||||
	public async launch(): Promise<void> {
 | 
						public async launch(): Promise<void> {
 | 
				
			||||||
		const fastify = Fastify({
 | 
							const fastify = Fastify({
 | 
				
			||||||
			trustProxy: true,
 | 
								trustProxy: true,
 | 
				
			||||||
			logger: !['production', 'test'].includes(process.env.NODE_ENV ?? ''),
 | 
								logger: false,
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
		this.#fastify = fastify;
 | 
							this.#fastify = fastify;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue