mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
refactor: Creation d'un provider et d'un systeme de middleware
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
export async function register() {
|
||||
|
||||
if (process.env.NEXT_RUNTIME === 'nodejs') {
|
||||
await require('pino')
|
||||
await require('next-logger')
|
||||
if (process.env.NEXT_RUNTIME === 'nodejs' && process.env.NODE_ENV === 'production') {
|
||||
await require('pino')
|
||||
await require('next-logger')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user