e71b62444c
Fixes #57 — NEXT_PUBLIC_GATEWAY_URL is a build-time variable that gets baked into the client bundle. Changing it in .env and restarting has no effect without a rebuild. - normalizeLocalGatewayDefaults now accepts the sanitized public form ({url, tokenConfigured}) from /api/studio - When no saved gateway URL exists, prefer runtime localGatewayDefaults (from openclaw.json or CLAW3D_GATEWAY_URL env var) over the potentially stale build-time NEXT_PUBLIC_GATEWAY_URL - loadLocalGatewayDefaults falls back to CLAW3D_GATEWAY_URL/TOKEN env vars when openclaw.json is absent - Added runtime env vars documentation to .env.example and README Co-authored-by: robotica4us-collab <neo@openclaw.ai> Made-with: Cursor
89 lines
1.1 KiB
Plaintext
89 lines
1.1 KiB
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
*.key
|
|
*.crt
|
|
*.cer
|
|
*.p12
|
|
*.pfx
|
|
*.jks
|
|
*.keystore
|
|
.netrc
|
|
id_rsa
|
|
id_rsa.pub
|
|
id_ed25519
|
|
id_ed25519.pub
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files (can opt-in for committing if needed)
|
|
.env*
|
|
!.env.example
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# playwright
|
|
playwright-report
|
|
test-results
|
|
.playwright-home
|
|
/.playwright-cli
|
|
/output/playwright
|
|
|
|
# agent state
|
|
/.agent/*
|
|
!/.agent/PLANS.md
|
|
!/.agent/done/
|
|
!/.agent/done/**
|
|
/.agent/done/**/*.md
|
|
/.agent/local
|
|
/.agent/execplan-pending.md
|
|
/.agent/*.local.md
|
|
/.agent/future-plans
|
|
/.openclaw
|
|
/.clawdbot
|
|
/.moltbot
|
|
/agent-canvas
|
|
/worktrees
|
|
/.claude
|
|
|
|
# local issue tracker
|
|
/.beads
|
|
|
|
# bv (beads viewer) local config and caches
|
|
.bv/
|
|
|
|
# Local HTTPS development certificates (generated by dev:https).
|
|
.certs/
|
|
.understand-anything/
|