Skip to content

fix(api): allow configured public API hosts - #75

Open
mahdiwafy wants to merge 1 commit into
Vanszs:mainfrom
mahdiwafy:pr/public-api-hosts
Open

fix(api): allow configured public API hosts#75
mahdiwafy wants to merge 1 commit into
Vanszs:mainfrom
mahdiwafy:pr/public-api-hosts

Conversation

@mahdiwafy

Copy link
Copy Markdown

Summary

  • Adds PUBLIC_API_HOSTS configuration for trusted public API hostnames.
  • Allows configured public hosts to serve /v1/* API requests correctly behind custom domains.
  • Adds guard logging to make host/API-key decisions easier to debug.

Scope

Focused only on API host allowlisting / dashboard guard behavior.

Verification

  • npm run lint:undef

@mahdiwafy mahdiwafy closed this Jul 30, 2026
@mahdiwafy
mahdiwafy deleted the pr/public-api-hosts branch July 30, 2026 05:06
@mahdiwafy
mahdiwafy restored the pr/public-api-hosts branch July 30, 2026 05:15
@mahdiwafy mahdiwafy reopened this Jul 30, 2026
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