From 25e60bef3fdf4e50b106feaadf0ae67e2e0762c4 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Sun, 17 May 2026 18:25:11 -0500 Subject: [PATCH] docs: align documentation and homepage config with ADR 001 --- apps/homepage/config/custom.js | 4 ---- docs/usability.html | 16 ++++++---------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/apps/homepage/config/custom.js b/apps/homepage/config/custom.js index d778508..e967832 100644 --- a/apps/homepage/config/custom.js +++ b/apps/homepage/config/custom.js @@ -3,10 +3,6 @@ */ function getApiBase() { - const host = window.location.hostname; - if (host === 'localhost' || host.endsWith('.localhost')) { - return `http://learning.localhost`; - } return `https://learning.arch-services.mywire.org`; } diff --git a/docs/usability.html b/docs/usability.html index cf6e481..da0860f 100644 --- a/docs/usability.html +++ b/docs/usability.html @@ -40,19 +40,15 @@

🧭 Navigating the Hub

The Homepage dashboard is your central entry point:

-

Local Access (.localhost)

-

All services are also reachable locally without external DNS. Browsers automatically resolve *.localhost to your machine.

- +

Local Access (Fast Lane)

+

To avoid traversing the public internet when you are on the same network as the server, we use a Public Domain + Local IP strategy (see ADR 001).

+

Add the following to your machine's /etc/hosts file:

+
127.0.0.1  traefik.arch-services.mywire.org auth.arch-services.mywire.org jellyfin.arch-services.mywire.org gitea.arch-services.mywire.org excalidraw.arch-services.mywire.org homepage.arch-services.mywire.org mermaid.arch-services.mywire.org ollama.arch-services.mywire.org learning.arch-services.mywire.org logs.arch-services.mywire.org portainer.arch-services.mywire.org arch-services.mywire.org
+

Note: This ensures valid SSL and working SSO cookies for local sessions.