all repos — website @ 2c41c45c48761ee8d7bb503c6966edb00b82457d

My website

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