You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PR #253 we've got ability to indicate log level for nextjs redirects, but currently this config is per route, would be very handy to set a default/common config in next.config.ts
The text was updated successfully, but these errors were encountered:
@ReDev1L We had the idea of Global config in mind, but I haven't tested how tow feasible it is. Tell then you can maybe create a common config and use it everywhere?
// some config fileconstcommonConfig={redirectLogLevel: 'warn'}
@ReDev1L We had the idea of Global config in mind, but I haven't tested how tow feasible it is. Tell then you can maybe create a common config and use it everywhere?
// some config fileconstcommonConfig={redirectLogLevel: 'warn'}
and then in functions, use it or extend it:
withAxiom(...,{ ...commonConfig})
As workaround, i'm doing this way, but it's not human-error proof, better to have defaults set somewhere, and provide config values to functions only to override defaults in some cases.
In PR #253 we've got ability to indicate log level for nextjs redirects, but currently this config is per route, would be very handy to set a default/common config in next.config.ts
The text was updated successfully, but these errors were encountered: