Here’s my code: https://glitch.com/edit/#!/url-s .
You can test it using this URL: https://url-s.glitch.me/api/shorturl/new/https://www.google.com .
After that, you’ll see a prompt asking you to download a COM file, like this image .
Anyone knows why is this happening?
Edit: the problem seems to be related to Firefox, because it only shows there.