veliovgroup / flow-router

🚦 Carefully extended flow-router for Meteor
https://packosphere.com/ostrio/flow-router-extra
BSD 3-Clause "New" or "Revised" License
201 stars 30 forks source link

Going to localhost:3000/packages/jquery.js displays a file #82

Closed nikhilgoswami closed 3 years ago

nikhilgoswami commented 3 years ago

I'm having an issue:

I don't know the issue is related to this package but on meteor project going to localhost:3000/packages/jquery.js displays a file.

I have a suggestion:

Disable source map access through routes

dr-dimitru commented 3 years ago

Hello @nikhilgoswami,

This is beyond this package as served by meteor's static assets middleware (e.g. serve route). And browsers need to get those files via HTTP as well, so there's no need to disable it

nikhilgoswami commented 3 years ago

Okay thanks for your help