Commit Graph

17 Commits

Author SHA1 Message Date
Michael Jackson f3ecddea47 Get tests passing again 2019-07-09 17:21:25 -07:00
Michael Jackson b67e58d985 Consolidate npm utils in the same file 2019-07-09 16:16:43 -07:00
Michael Jackson bfecd1955a Fix module resolution
Fixes a bug where a directory with the same name as a file would be used
as the matching entry instead of that file depending on the order they
appear in the tarball.
2019-06-10 21:02:29 -07:00
Michael Jackson 20c4926e13 Lengthen cache ttl on 404s 2019-01-28 12:15:05 -08:00
Michael Jackson 0baa63d525 Merge branch 'master' into firebase-hosting 2019-01-07 20:29:16 -08:00
Michael Jackson d6fde9fb33 Remove "immutable" from long-term responses
We had a bug recently which sent out some bad "immutable" responses. We
need to have a better process around cutting releases before we can be
sure it doesn't happen again.
2019-01-06 21:10:18 -08:00
Michael Jackson 31e7d3865a Experimental port to Firebase hosting 2019-01-05 17:14:36 -08:00
Michael Jackson ea7f3ab3f3 Merge branch 'master' of https://github.com/vamshi29292/unpkg.com into vamshi29292-master 2018-12-20 20:02:19 -08:00
Michael Jackson 19b2e5574b Use single quotes :P 2018-12-17 09:38:05 -08:00
Vamshi Palreddy 2592c5eca6 Ignore multiple slashes in file path. 2018-10-29 03:25:52 +05:30
Michael Jackson 9dbe412783 Do not serve index.html files at / URLs
This actually broke some old behavior in packages that publish
index.html files but aren't counting on unpkg to serve them.

Closes #130
2018-09-24 10:37:02 -07:00
Michael Jackson 5fac968215 Better variable name 2018-09-05 07:32:02 -07:00
Michael Jackson 21ed6ee42e Add ?module support for HTML files
Closes #113
2018-09-04 15:58:52 -07:00
Michael Jackson 2fc84dfe45 Use "immutable" Cache-Control extension
See http://bitsup.blogspot.com/2016/05/cache-control-immutable.html for
more info.

Fixes #103
Closes #119
2018-09-01 11:37:42 -07:00
Michael Jackson 185a956fb9 Move API endpoints to /api 2018-09-01 06:37:48 -07:00
Michael Jackson 6d57d95b7f Increase max-age on some redirects 2018-08-07 18:59:45 -07:00
Michael Jackson bef8b2ebee Rename server => modules 2018-07-31 10:20:24 -07:00