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
Is it possible to set-up a global ServerFn middleware to purge message from any server-side errors? I would like to do this as a paranoid precaution in case there is some sensitive information in some of the error messages (this might be exposed through a 3rd party dependency as well).
Stack trace is already stripped automatically, it seems.
EDIT: This is possible with global middlware. Global middleware does not work after "devinxi" unless you import the file somewhere, e.g. in router.ts.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to set-up a global ServerFn middleware to purge message from any server-side errors? I would like to do this as a paranoid precaution in case there is some sensitive information in some of the error messages (this might be exposed through a 3rd party dependency as well).
Stack trace is already stripped automatically, it seems.
EDIT: This is possible with global middlware. Global middleware does not work after "devinxi" unless you import the file somewhere, e.g. in
router.ts
.Beta Was this translation helpful? Give feedback.
All reactions