Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(selfhost): clear hardcoded NEXT_PUBLIC_API_URL/WS_URL defaults (#1063)
LinYushen5dad1f0915e5
diff --git a/.env.example b/.env.exampleindex b57ae5d916..c6f8a575f1 100644--- a/.env.example+++ b/.env.example@@ -55,8 +55,10 @@ ALLOWED_ORIGINS=# FrontendFRONTEND_PORT=3000FRONTEND_ORIGIN=http://localhost:3000-NEXT_PUBLIC_API_URL=http://localhost:8080-NEXT_PUBLIC_WS_URL=ws://localhost:8080/ws+# Leave empty — auto-derived from page origin in browser, set by Makefile for local dev.+# Only set explicitly if frontend and backend are on different domains.+NEXT_PUBLIC_API_URL=+NEXT_PUBLIC_WS_URL=# Remote API (optional) — set to proxy local frontend to a remote backend# Leave empty to use local backend (localhost:8080)