mirror of
https://gitlab.com/mobicoop/v3/service/configuration.git
synced 2026-01-12 00:22:40 +00:00
extract config files
This commit is contained in:
5
src/config/pagination.config.ts
Normal file
5
src/config/pagination.config.ts
Normal 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,
|
||||
}));
|
||||
Reference in New Issue
Block a user