Dough Git

commit

Serve from git.doughmination.gay

commit
f0784119783d868fb7b186a40b773cadbefa10b1
author
Clove Twilight <[email protected]>
date
2026-11-20 23:31
Point the public URL, SSO redirect and mirror workflow at the new hostname,
and default the title to "Dough Git".

Co-Authored-By: Sandrone <[email protected]>

diff --git a/.env.example b/.env.example
index ff4c7d4..e1ab9b2 100644
--- a/.env.example
+++ b/.env.example
@@ -7,10 +7,10 @@ MINIGIT_REPOS_ROOT=./data/repos
 MINIGIT_DB_PATH=./data/dough-git.db
 
 # Public base URL (used for OIDC redirect + the clone URLs shown in the UI).
-MINIGIT_BASE_URL=http://localhost:5173
+MINIGIT_BASE_URL=https://git.doughmination.gay
 
-MINIGIT_TITLE=dough-git
-MINIGIT_FAVICON=http://localhost:5173/favicon.png
+MINIGIT_TITLE=Dough Git
+MINIGIT_FAVICON=https://git.doughmination.gay/favicon.png
 MINIGIT_DESCRIPTION=A minimal self-hosted git mirror.
 MINIGIT_THEME_COLOR=#eb459e
 
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
index 799e8cb..dc16c4a 100644
--- a/.github/workflows/mirror.yml
+++ b/.github/workflows/mirror.yml
@@ -15,7 +15,7 @@ jobs:
       cancel-in-progress: false
 
     env:
-      MIRROR_HOST: backup.doughmination.gay
+      MIRROR_HOST: git.doughmination.gay
       MIRROR_USERNAME: ${{ secrets.MIRROR_USERNAME }}
       MIRROR_REPO: ${{ secrets.MIRROR_REPO }}
       MIRROR_TOKEN: ${{ secrets.MIRROR_TOKEN }}
diff --git a/deploy/run b/deploy/run
index df1efef..71c2328 100755
--- a/deploy/run
+++ b/deploy/run
@@ -12,8 +12,8 @@ export NODE_ENV=production
 
 # Public URL behind the proxy: SvelteKit needs it for form actions (CSRF check),
 # the SSO redirect URI and the clone URLs shown in the UI
-export ORIGIN=https://backup.doughmination.gay
-export MINIGIT_BASE_URL=https://backup.doughmination.gay
+export ORIGIN=https://git.doughmination.gay
+export MINIGIT_BASE_URL=https://git.doughmination.gay
 
 # Single sign-on. The client secret is in .env with the other secrets
 export OIDC_ISSUER=https://auth.doughmination.gay
diff --git a/src/lib/server/config.ts b/src/lib/server/config.ts
index fadde87..cf9bd32 100644
--- a/src/lib/server/config.ts
+++ b/src/lib/server/config.ts
@@ -10,12 +10,12 @@ function optional(name: string, fallback: string): string {
 }
 
 export const config = {
-  baseUrl: optional("MINIGIT_BASE_URL", "http://localhost:5173"),
-  title: optional("MINIGIT_TITLE", "dough-git"),
+  baseUrl: optional("MINIGIT_BASE_URL", "https://git.doughmination.gay"),
+  title: optional("MINIGIT_TITLE", "Dough Git"),
 
   favicon: optional(
     "MINIGIT_FAVICON",
-    "/favicon.png",
+    "https://git.doughmination.gay/favicon.png",
   ),
 
   description: optional(