logs
This commit is contained in:
parent
cb28b3b8ab
commit
442c89271c
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,9 @@ const serverOptions = (mainHandler: Main): ServerOptions => {
|
|||
UserAuthGuard: async (authHeader) => { return mainHandler.appUserManager.DecodeUserToken(stripBearer(authHeader)) },
|
||||
GuestAuthGuard: async (_) => ({}),
|
||||
metricsCallback: metrics => mainHandler.settings.recordPerformance ? mainHandler.metricsManager.AddMetrics(metrics) : null,
|
||||
allowCors: true
|
||||
allowCors: true,
|
||||
logMethod: true,
|
||||
logBody: true
|
||||
//throwErrors: true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue