Skip to content

feat: externalize Direct Line domain for Europe endpoint#1

Open
GiorgioUghini wants to merge 1 commit into
adilei:custom-componentsfrom
GiorgioUghini:feat/europe-directline-domain
Open

feat: externalize Direct Line domain for Europe endpoint#1
GiorgioUghini wants to merge 1 commit into
adilei:custom-componentsfrom
GiorgioUghini:feat/europe-directline-domain

Conversation

@GiorgioUghini

Copy link
Copy Markdown

Adds support for configuring the Direct Line domain via the VITE_DIRECTLINE_DOMAIN environment variable.

This allows targeting regional endpoints (e.g. Europe: https://europe.directline.botframework.com/v3/directline) instead of the default US endpoint.

Changes:

  • \src/App.jsx: \createDirectLine\ now reads the domain from env var (falls back to default when unset)
  • .env.example: documents the new variable

Add VITE_DIRECTLINE_DOMAIN env variable so the Direct Line domain
can be configured per environment (e.g. Europe region).
Falls back to default US endpoint when not set.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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