Skip to content

feat: honor ETYMOLT_BASE_URL env across all recipes#2

Merged
tattarw merged 1 commit into
mainfrom
polish/base-url-env
Jun 10, 2026
Merged

feat: honor ETYMOLT_BASE_URL env across all recipes#2
tattarw merged 1 commit into
mainfrom
polish/base-url-env

Conversation

@tattarw

@tattarw tattarw commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Recipes now use BASE = process.env.ETYMOLT_BASE_URL with default fallback. Closes board #131.

Every recipe now starts with:
  const BASE = process.env.ETYMOLT_BASE_URL || "https://api.etymolt.com";

and fetches `${BASE}/v1/verify` (or /.well-known/evp-keys.json for
the signature recipe). Lets devs point recipes at the @etymolt/mock
local server or a regional pop without editing the source.

Closes board item #131.
@tattarw tattarw merged commit 05bafe4 into main Jun 10, 2026
1 check passed
@tattarw tattarw deleted the polish/base-url-env branch June 10, 2026 08:38
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