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
I have a feature requirement to detect the hash value of a file when a user uploads it. If the file already exists, I want to stop further execution and directly return the existing document.
Currently, I am trying to achieve this requirement by adding custom handlers. However, I have encountered a strange issue where even if I use res.end to forcefully end the request in the handler, it doesn't work.
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.
-
I have a feature requirement to detect the hash value of a file when a user uploads it. If the file already exists, I want to stop further execution and directly return the existing document.
Currently, I am trying to achieve this requirement by adding custom handlers. However, I have encountered a strange issue where even if I use
res.endto forcefully end the request in the handler, it doesn't work.Beta Was this translation helpful? Give feedback.
All reactions