Commit Graph

641 Commits

Author SHA1 Message Date
Michael Jackson 9e0f43484f Dynamically render home page 2016-04-30 17:26:23 -07:00
Michael Jackson a14c6cd90b Use separate modules, get config from env 2016-04-30 16:52:43 -07:00
Michael Jackson d74f619b5e Update package config 2016-04-30 16:31:42 -07:00
Michael Jackson 87f12086ab Add robots.txt 2016-04-12 11:31:22 -07:00
Michael Jackson 81fe71c369 Fix package name matching 2016-04-12 11:24:37 -07:00
Michael Jackson 06f6a74de7 Tweak function name 2016-04-12 05:28:33 -07:00
Michael Jackson 0886f7ac6a Use arrow functions 2016-04-12 05:27:05 -07:00
Michael Jackson 2f5f4169a5 Change key name 2016-04-12 05:22:00 -07:00
Michael Jackson dd04ece3d0 Log reqs based on package as well 2016-04-12 05:20:22 -07:00
Michael Jackson 5435b3c788 Try different syntax 2016-04-12 05:10:31 -07:00
Michael Jackson f3c5dcee2b Store request stats in a sorted set 2016-04-12 05:04:55 -07:00
Michael Jackson 277e938884 Only log request paths, not search strings 2016-04-12 04:50:26 -07:00
Michael Jackson 8e1b8edca7 Log successful requests to redis instance if available 2016-04-12 04:46:23 -07:00
Michael Jackson 3180839192 Add URL logging option 2016-04-12 04:35:01 -07:00
Michael Jackson 2ea9685bc1 Remove unnecessary package info 2016-04-12 02:51:18 -07:00
Michael Jackson 62fda6cc3e Bump npm-http-server dep 2016-04-12 02:47:12 -07:00
Michael Jackson 3a20c47940 Pin to node 5.8.x for now
A bug was introduced in node v5.9 that causes lots of "unknown
compression method" errors, see
https://github.com/nodejs/node/issues/5852

Hopefully this is fixed in the next patch release.
2016-04-07 21:46:21 +10:00
Michael Jackson 1e89ba7140 Update npm-http-server dep 2016-03-28 10:05:56 -07:00
Michael Jackson b6f6cae571 Update index page 2016-03-26 23:53:07 -07:00
Michael Jackson fc72435f6e Upgrade npm-http-server dep 2016-03-26 20:39:20 -07:00
Michael Jackson c209cedcfc Upgrade npm-http-server dep 2016-03-26 20:23:06 -07:00
Michael Jackson 20c9c1cc51 Update npm-http-server dep 2016-03-26 16:17:15 -07:00
Michael Jackson ebbbb18233 Update npm-http-server dep 2016-03-26 11:29:38 -07:00
Michael Jackson 4ed32cb24b Fix typo 2016-03-26 11:14:11 -07:00
Michael Jackson 515c67241d Update index page 2016-03-26 11:12:22 -07:00
Michael Jackson 396906dde1 Update npm-http-server dep 2016-03-26 00:09:07 -07:00
Michael Jackson a8687d3e75 Bump npm-http-server dep 2016-03-18 14:25:55 -07:00
Michael Jackson d452d57d86 Cache redirects for 5 mins 2016-03-18 12:45:49 -07:00
Michael Jackson b7aff74b46 Merge pull request #3 from developit/patch-1
Fix options not being passed to npm-http-server
2016-03-17 08:38:34 -07:00
Michael Jackson 034adc5ccb Update npm-http-server dep 2016-03-15 22:24:18 -07:00
Jason Miller babea5e02c Fix options not being passed to npm-http-server
`npm-http-server` expects options as a hash, but they were being passed as arguments. This did not affect npmcdn.com because the defaults were being used anyway, but I ran into it when setting it up internally at my company. #TrolledByMJ again
2016-03-15 13:40:32 -04:00
Michael Jackson 28a96bbb66 Update home page 2016-03-12 22:58:48 -08:00
Michael Jackson 2251e278dc Bump npm-http-server dep 2016-03-12 22:51:41 -08:00
Michael Jackson 1cf2e9f128 Bump npm-http-server dep 2016-03-12 22:48:44 -08:00
Michael Jackson fe116a5cae Tweak log message 2016-03-06 19:29:49 -08:00
Michael Jackson e9e488131c Update npm-http-server dep 2016-03-06 18:14:20 -08:00
Michael Jackson 187ee39b1c Add more npm config vars 2016-03-05 21:59:53 -08:00
Michael Jackson c18640f421 Use const instead of var 2016-02-21 22:05:44 -08:00
Michael Jackson dc1a5d1f7d Add port npm config var 2016-02-21 19:00:11 -08:00
Michael Jackson 1f6da94da0 Add missing dep 2016-02-21 18:55:06 -08:00
Michael Jackson eeb7b62dce Initial commit 2016-02-21 18:52:19 -08:00