generated from nhcarrigan/template
feat: another security sweep
This commit is contained in:
+2
-1
@@ -2,11 +2,12 @@ import Fastify from 'fastify';
|
||||
import { app } from './app/app';
|
||||
|
||||
const host = process.env.HOST ?? 'localhost';
|
||||
const port = process.env.PORT ? Number(process.env.PORT) : 3000;
|
||||
const port = process.env.PORT ? Number(process.env.PORT) : 12321;
|
||||
|
||||
// Instantiate Fastify with some config
|
||||
const server = Fastify({
|
||||
logger: true,
|
||||
bodyLimit: 1048576, // 1MB max body size
|
||||
});
|
||||
|
||||
// Register your application as a normal plugin.
|
||||
|
||||
Reference in New Issue
Block a user