Created
October 28, 2021 08:20
-
-
Save AnishDe12020/1a126101b1afeb39869e2616381e98bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const middleware = (req, ev) => { | |
return new Response(req.ua.os.name); | |
}; | |
export default middleware; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment