Commit Graph

33 Commits

Author SHA1 Message Date
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 397a9f8915 Inline query sanitizer 2019-06-10 21:02:29 -07:00
Michael Jackson bade9a8d28 Remove _metadata and _module routes
See #185
2019-06-10 21:02:22 -07:00
Michael Jackson 5df576c6be Add /_metadata and /_module functions
Also deprecate ?meta and ?module query params.
2019-02-23 22:04:16 -08:00
Michael Jackson 20c4926e13 Lengthen cache ttl on 404s 2019-01-28 12:15:05 -08:00
Michael Jackson 5533725f64 Remove Firebase hosting, back to Express 2019-01-26 15:20:15 -08:00
Michael Jackson 3526660620 Tweak max-age for semver/tag redirects 2019-01-17 19:13:56 -08:00
Michael Jackson 276013696e Cache 302s for 4 hours 2019-01-17 18:36:46 -08:00
Michael Jackson 9cdcf90c8a Add HTTP request logging 2019-01-15 08:42:54 -08:00
Michael Jackson dc2950d60f Remove blacklist code 2019-01-15 08:06:12 -08:00
Michael Jackson 5e7323f389 Remove incrementCounter utility 2019-01-15 07:59:53 -08:00
Michael Jackson 45c48cba26 Merge branch 'master' into firebase-hosting 2019-01-08 21:11:12 -08:00
Michael Jackson 0baec61184 Experiment w cache times on redirects 2019-01-08 20:54:16 -08:00
Michael Jackson ab97ff2cc4 Merge branch 'master' into firebase-hosting 2019-01-08 19:02:08 -08:00
Michael Jackson 0622848255 Increase some cache times 2019-01-08 06:47:04 -08:00
Michael Jackson 0baa63d525 Merge branch 'master' into firebase-hosting 2019-01-07 20:29:16 -08:00
Michael Jackson e83103c6b5 Increase redirect timeout to 5 minutes 2019-01-06 21:15:24 -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 99312c75b0 Use consistent Cache-Tag format 2019-01-01 18:03:54 -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 29b7725597 Continue when blacklist is unavailable 2018-09-03 11:30:55 -07:00
Michael Jackson f0d05ea756 Fighting spam :/ 2018-09-03 09:26:43 -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 e04db2c49c Fix auth using header 2018-09-01 09:36:48 -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