i think i might accidentally write a webserver

(i mean, not the heavy parts, most of it's going to be axum behind haproxy. but i'm finding i don't like ServeDir/ServeFile from tower_http so i'm just gonna try to do a naive implementation. get a url, check for shenanigans, translate to filename, send the file. and i'm chuffed to relearn enough rust and traits and into/from to be able to design handlers for axum and use the ? operator instead of filling my code up with error handling mess)

0

If you have a fediverse account, you can quote this note from your own instance. Search https://tiny.tilde.website/users/pho4cexa/statuses/115986512738568417 on your instance and quote it. (Note that quoting is not supported in Mastodon.)