Commit Graph

657 Commits

Author SHA1 Message Date
Michael Jackson c75a32c60a Small tweaks 2019-01-12 21:30:59 -08:00
Michael Jackson d13fedd940 Use css prop 2019-01-12 21:23:31 -08:00
Michael Jackson 66b607843a Increase cache max-age for auto-index pages 2019-01-12 20:53:30 -08:00
Michael Jackson 8b65834320 Update .gitignore rules 2019-01-12 20:33:46 -08:00
Michael Jackson d2637cb9ea Streamline home page 2019-01-12 20:30:42 -08:00
Michael Jackson 59be66f552 Remove all PropTypes in production 2019-01-12 19:32:16 -08:00
Michael Jackson 09914c1db4 Server render the main page
Also, add hashes to asset file names and use the "entry manifest" plugin
in dev to get auto-reloading.
2019-01-12 19:27:28 -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 523ff7647f Update Heroku deploy key 2019-01-07 21:28:02 -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 c0f55f4807 Keep secret key in separate file 2019-01-06 21:04:47 -08:00
Michael Jackson 76f05911cd Inject secret key at build time 2019-01-05 18:03:10 -08:00
Michael Jackson 09ed8ac129 Use correct NODE_ENV in builds 2019-01-05 17:21:25 -08:00
Michael Jackson 31e7d3865a Experimental port to Firebase hosting 2019-01-05 17:14:36 -08:00
William Hilton 6a126115bc
fix const error 2019-01-02 15:56:24 -05:00
William Hilton 6740f76d17
fix: decode `%40` before splitting URLs by `@` 2019-01-02 15:32:09 -05:00
Michael Jackson e4d6df255e Add clean script and update some deps 2019-01-01 18:59:28 -08:00
Michael Jackson ca35d2659f Small tweaks 2019-01-01 18:51:44 -08:00
Michael Jackson 99312c75b0 Use consistent Cache-Tag format 2019-01-01 18:03:54 -08:00
Michael Jackson 25d86e9c95 Use latest stable node 2018-12-21 11:04:19 -08:00
Michael Jackson 4839d84a5a Merge branch 'vamshi29292-master' 2018-12-20 20:02:38 -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 db615e29fe Remove Docker config, use heroku local instead 2018-12-20 19:50:30 -08:00
Michael Jackson 961ea49ac4 Add back missing package config data
Fixes #156
2018-12-20 15:09:06 -08:00
Michael Jackson 59a5acbe08 Switch back to in-memory cache 2018-12-17 15:57:44 -08:00
Michael Jackson aa99d11068 Limit package info we keep in cache 2018-12-17 14:02:59 -08:00
Michael Jackson 995a977e59 Re-use route function 2018-12-17 13:59:04 -08:00
Michael Jackson 19b2e5574b Use single quotes :P 2018-12-17 09:38:05 -08:00
Michael Jackson ada37035cd Add webpack-cli 2018-12-06 07:21:38 -05:00
Michael Jackson ecdb9df7b2 Run linting on CI 2018-12-06 07:18:35 -05:00
Michael Jackson 4fd697aec1 Upgrade to Babel 7
Also, update to webpack 4 and add support for dynamic import() and
import.meta in ?module mode.

Fixes #108
Fixes #151
2018-12-06 07:13:33 -05:00
Michael Jackson fde375782c Fix ESLint warnings 2018-12-04 16:41:37 -08:00
Michael Jackson 41806b2117 Use npm instead of yarn 2018-11-27 21:35:05 -08:00
Brian Ambielli 7075ebdbb9 update(fix-cache-control-documentation): fixing about.md which incorrectly noted how long cache-control headers were set for 2018-11-27 21:25:28 -08:00
Michael Jackson 0bc640962c Close database connections after running tests 2018-10-30 20:30:13 -07:00
Vamshi Palreddy c130e652b7
Merge pull request #1 from vamshi29292/multiple-slash-bug
Ignore multiple slashes in file path.
2018-10-29 03:34:27 +05:30
Vamshi Palreddy 2592c5eca6 Ignore multiple slashes in file path. 2018-10-29 03:25:52 +05:30
Michael Jackson 9b9ded57e7 Fix caching issue
Fixes #138
2018-10-19 07:32:08 -07:00
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 311a1ffa7e Use 0 instead of a string for missing packages 2018-09-04 07:39:45 -07:00
Michael Jackson 29b7725597 Continue when blacklist is unavailable 2018-09-03 11:30:55 -07:00
Michael Jackson f138748d1a Add script for clearing the cache 2018-09-03 10:54:17 -07:00
Michael Jackson f0d05ea756 Fighting spam :/ 2018-09-03 09:26:43 -07:00