⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix(web): empty unset KANEO_* placeholders so self-hosted signup works
Andrejd9420a817279
diff --git a/apps/web/env.sh b/apps/web/env.shindex ebd63d145..b9ced400c 100644--- a/apps/web/env.sh+++ b/apps/web/env.sh@@ -55,4 +55,14 @@ for key in $(env | grep '^KANEO_' | grep -v 'KANEO_API_URL\|KANEO_CLIENT_URL' |fidone+# Empty any remaining `"KANEO_*"` placeholder whose env var was left unset.+# Without this, the literal placeholder stays in the bundle and is read by+# the frontend as a truthy string — which broke self-hosted signup when+# KANEO_TURNSTILE_SITE_KEY was left unset (issue #1304). Apply to any future+# runtime-substituted flag so the same trap doesn't recur.+echo "Stripping unset KANEO_* placeholders..."+find /usr/share/nginx/html -type f \( -name "*.js" -o -name "*.css" \) \+ -exec grep -lE '"KANEO_[A-Z_]+"' {} \; \+ | xargs -r sed -i -E 's#"KANEO_[A-Z_]+"#""#g'+echo "✅ Environment variable replacement complete"