Commit Graph
24 Commits
Author SHA1 Message Date
jake e68aec80c7 secret can't be named GITHUB_TOKEN 2021-06-03 09:39:53 -04:00
jake 9505767f3d add /api/projects endpoint and /projects page with GH-style repo cards 2021-06-03 09:31:53 -04:00
jake 7a5962fa7e api/stats: get database and RSS results asynchronously (a LOT faster) 2021-06-02 01:06:51 -04:00
jake a4aab585ed some error handling and cleanup 2021-06-01 19:39:15 -04:00
jake 78518fe326 move /api/popular to /api/stats, calculate totals 2021-05-31 22:29:50 -04:00
jake 4f03874cd3 api/popular: cross-reference with RSS feed to get post titles 2021-05-31 19:29:38 -04:00
jake bf6be99a21 add popular posts API endpoint 2021-05-31 11:24:23 -04:00
jake 37807e008b add content-type and access-control headers to hit function response 2021-05-30 19:30:06 -04:00
jake c113bdce2e move long and messy Fauna query to a user-defined function in the cloud
https://docs.fauna.com/fauna/current/api/fql/user_defined_functions
2021-05-30 10:49:35 -04:00
jake 1d76ff93ad catch and log lambda errors 2021-05-30 09:58:29 -04:00
jakeandGitHub cfc3334da7 super simple serverless hit counter for fun (#410) 2021-05-30 08:55:37 -04:00
jake 83d88f0f77 remove unused lambda functions from production 2021-04-03 07:56:29 -04:00
jake 69db7eadca account for uppercase request headers if send_view is hit via HTTP 1.x 2020-10-09 11:23:53 -04:00
jake cdc39f7efe clean up send_view function 2020-10-07 09:06:26 -04:00
jake 7fafef712b trying another dumb cache busting technique in send_view.js 2020-08-23 12:39:17 -04:00
jake a04e33b705 add debugging headers to send_view function's response 2020-08-21 22:36:07 -04:00
jake d7099fbed0 trying to be clever in error handling didn't work.... will fix later 2020-08-20 02:51:19 -04:00
jake ea758d5004 stats lambda: better caching (or lack thereof) & error handling 2020-08-19 20:56:07 -04:00
jake 347c577d3a fix body of API response 2020-08-12 10:33:52 -04:00
jake a0671a6dea replace request with axios in send_view API 2020-08-12 10:09:10 -04:00
jake 9b5a29be7b fix AMP pixel (hopefully) 2020-08-08 08:03:22 -04:00
jake 76b3a55efd switch simple analytics proxy to a netlify function 2020-08-08 00:13:07 -04:00
jake ea244a5372 update homepage 2020-07-16 15:02:26 -04:00
jake 725c482ba3 make sure config for Netlify functions is okay so far 😬
[skip ci]
2020-07-10 20:00:39 -04:00