3rd-Eden / versions

Versions, A small module for creating a flexible CDN application
204 stars 13 forks source link

Option to allow URLs without an extension #21

Closed eboskma closed 11 years ago

eboskma commented 11 years ago

In some situations, URLs without extensions are desirable and should not be ignored. For example, Ruby on Rails applications handle routes without an extension as HTML by default. While you could use the '.html' extension, when using versions as frontend for an existing application, you would need to adjust every link pointing to your application.

3rd-Eden commented 11 years ago

Fixed in the master repo.

If you don't want to wait for a new npm release you can set:

"versions": "git://github.com/3rd-Eden/versions.git#bde30fe3e82fb2a7721b81f190335c83aabb493b"

in you package.json so it fetches the package from git instead of the npm registry.