refactor(honeybar): HONEYBAR_ORIGIN statt INKNOTE_HONEYBAR_ORIGIN

Dieselben Namen wie in Aether. Die Leiste gehoert keiner App, sie ist ueberall
dieselbe Sache — dann soll sie auch ueberall gleich heissen. Ein zweiter Name
fuer dieselbe Einstellung ist eine Fehlerquelle beim Umziehen und beim Suchen.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
marcandClaude Opus 5 committed 2026-08-25 12:00:15 +02:00
1 parent 00b1d4469f
commit 7c1bbc8176
6 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -890,10 +890,10 @@ app.get("/api/auth/methods", (req, res) => {
* nothing to unlock, and it should not sit in the page for no reason. It buys
* the list of apps and nothing else. */
app.get("/api/public/config", (req, res) => {
const origin = String(process.env.INKNOTE_HONEYBAR_ORIGIN || "").replace(/\/+$/, "");
const origin = String(process.env.HONEYBAR_ORIGIN || "").replace(/\/+$/, "");
res.json({
honeybar: origin
? { origin, key: String(process.env.INKNOTE_HONEYBAR_KEY || "") }
? { origin, key: String(process.env.HONEYBAR_KEY || "") }
: null,
});
});