Changeset 72f936a in Klonkt for src/server.js

Timestamp:
07/16/2026 12:20:51 PM (8 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
8878814
Parents:
df9da7d
git-author:
Robin <roboburr@…> (07/12/2026 11:37:06 PM)
git-committer:
Robin <roboburr@…> (07/16/2026 12:20:51 PM)
Message:

Fix: update check tracks the branch a checkout is on, not always main

BRANCH was hardcoded to main (unless KLONKT_BRANCH was set), so a self-hoster
who checked out the stable branch got the update panel comparing against
origin/main: main's commits shown as 'latest' plus a bogus 'behind' count.
A git checkout now defaults to its current branch (env override still wins,
then current branch, then main). The bare fleet is unaffected (it sets
KLONKT_BRANCH); Android already used stable.

Co-Authored-By: Claude Opus 4.8 <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.