version history MVP

implement basic version history support; there's now an icon in the footer that lets you see the previous versions and their sources
I'm a bit worried about spoilers but honestly it's yet another way to hint yourself at the cool secrets so I don't mind
This commit is contained in:
りき萌 2024-09-28 23:43:05 +02:00
parent 46dee56331
commit c58c07d846
28 changed files with 1066 additions and 330 deletions

View file

@ -11,8 +11,9 @@ mkfifo $reload_fifo
reload() {
# This just kind of assumes regeneration doesn't take too long.
cargo build --release
kill "$treehouse_pid"
cargo run --release -- serve --port 8082 > "$build_log" 2>&1 &
cargo run --release -- serve --port 8082 --commits-only > "$build_log" 2>&1 &
treehouse_pid="$!"
}