all repos — website @ e718339d93e2f60b6df55330aafb2d9536820ce4

My website

e718339d
Add request_duration_seconds histogram
Alan Pearce alan@alanpearce.eu
Fri, 15 Sep 2023 10:34:33 +0200
4218b3b5
Add namespace to prometheus metrics
Alan Pearce alan@alanpearce.eu
Thu, 14 Sep 2023 19:52:30 +0200
7bb417f9
Catch errors and log to sentry
Alan Pearce alan@alanpearce.eu
Thu, 14 Sep 2023 12:07:05 +0200
a9f9c066
Deploy to fly.io
Alan Pearce alan@alanpearce.eu
Thu, 14 Sep 2023 12:01:21 +0200
02abf6eb
Build with docker
Alan Pearce alan@alanpearce.eu
Thu, 14 Sep 2023 11:40:17 +0200
75041215
Log server info at startup
Alan Pearce alan@alanpearce.eu
Thu, 14 Sep 2023 11:39:56 +0200
4ea39c59
Fix error in requestsByPath counter
Alan Pearce alan@alanpearce.eu
Thu, 14 Sep 2023 11:39:20 +0200
627aec84
Collect metrics for prometheus
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 15:55:48 +0200
ae9de0ea
Remove unused import
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 15:20:32 +0200
2574e38f
Add tests
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 14:46:08 +0200
da035516
Send headers with 304 responses
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 14:45:51 +0200
b52a1c84
Add Vary: Accept-Encoding header (only header keys are re-cased)
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 14:45:22 +0200
bdaab2de
Remove console.log
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 12:19:56 +0200
2c41c45c
Fix incorrect file existence check
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 11:12:50 +0200
93197c34
Remove defunct live-reload

Doesn't work when serving static files
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 10:19:40 +0200
c738123d
Use bun's builtin mime logic
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 10:16:53 +0200
37ee14f5
Return precompressed files, if they exist
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 09:24:11 +0200
8e7a851d
Inline variable
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 07:02:32 +0200
c48a92fd
Send 304 when file time not greater than if-modified-since header
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 06:52:32 +0200
7c376d43
Send last-modified header
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 06:36:39 +0200
a5e05c92
Remove unused function
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 06:21:16 +0200
7c643602
Reduce memory usage by not duplicating default headers
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2023 06:04:08 +0200
b89c78af
Send status code 404 with /404.html
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 18:41:59 +0200
d4c067d0
Rename variable
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 18:33:47 +0200
14e6b232
Return 404 if file no longer exists
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 18:09:19 +0200
817164e3
Remove unused dependency
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 18:09:08 +0200
2ea9c80f
wtf typescript
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 17:17:50 +0200
aa663a1c
Avoid duplicate registration of initial directory
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 17:17:23 +0200
0ded4a2b
Give files map a proper type
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 17:16:58 +0200
2f615253
Use own logic for static file serving
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 16:54:29 +0200
78439b16
Read config from TOML file
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 10:56:39 +0200
b45b4e37
Reformat with prettier
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 10:56:10 +0200
7fc8048d
Init flake
Alan Pearce alan@alanpearce.eu
Tue, 12 Sep 2023 10:55:15 +0200
51cc4389
Serve static files
Alan Pearce alan@alanpearce.eu
Mon, 11 Sep 2023 19:43:06 +0200
a25028aa
Initial commit
Alan Pearce alan@alanpearce.eu
Mon, 11 Sep 2023 14:52:07 +0200