Skip to content

fix(dashboard): keep rewrite API credentials server-side - #203

Open
mameikagou wants to merge 1 commit into
CaviraOSS:rewritefrom
mameikagou:agent/rewrite-dashboard-auth-proxy
Open

fix(dashboard): keep rewrite API credentials server-side#203
mameikagou wants to merge 1 commit into
CaviraOSS:rewritefrom
mameikagou:agent/rewrite-dashboard-auth-proxy

Conversation

@mameikagou

Copy link
Copy Markdown
Contributor

Summary

  • default dashboard project requests to the existing /api/openmemory server proxy
  • stop baking API URLs and keys into the browser-facing Docker build environment
  • add regression coverage for the proxy fallback and Docker configuration

This keeps OPENMEMORY_API_KEY on the server side while preserving an explicit NEXT_PUBLIC_API_URL override for deployments that intentionally use one.

Validation

  • node --test dashboard/tests/auth-config.test.js
  • cd dashboard && node --test tests/auth-config.test.js
  • cd dashboard && npm run build
  • git diff --check

@mameikagou
mameikagou marked this pull request as ready for review August 19, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant