extract config files

This commit is contained in:
sbriat
2023-10-24 11:21:45 +02:00
parent 376260d903
commit f960299565
35 changed files with 313 additions and 113 deletions

View File

@@ -0,0 +1,5 @@
import { registerAs } from '@nestjs/config';
export default registerAs('pagination', () => ({
perPage: process.env.PER_PAGE ? parseInt(process.env.PER_PAGE, 10) : 10,
}));