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 @@
The Homepage dashboard is your central entry point:
All services are also reachable locally without external DNS. Browsers automatically resolve *.localhost to your machine.
http://gitea.localhosthttp://auth.localhosthttp://logs.localhosthttp://portainer.localhostTo 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.