Skip to content

fix(ci): drop stray /v2 suffix from VITE_UFABC_PARSER_URL#538

Open
Joabesv wants to merge 1 commit into
mainfrom
fix/ufabc-parser-base-url
Open

fix(ci): drop stray /v2 suffix from VITE_UFABC_PARSER_URL#538
Joabesv wants to merge 1 commit into
mainfrom
fix/ufabc-parser-base-url

Conversation

@Joabesv

@Joabesv Joabesv commented Jul 15, 2026

Copy link
Copy Markdown
Member

Summary

  • VITE_UFABC_PARSER_URL was set to https://ufabc-parser.com/v2, but the connector's own request paths already prefix /v2 (e.g. /v2/components/enrolled in packages/connectors/src/ufabc-parser.ts), producing double /v2/v2/... URLs — reported live in prod as https://ufabc-parser.com/v2/v2/components/enrolled.
  • This value has been wrong since it was introduced; it just wasn't reaching the shipped build until fix(build): VITE_* env vars not reaching the extension build via Turbo #537 fixed the Turbo env-passthrough.
  • Confirmed the correct value is the bare host via apps/core/.env.prod (UFABC_PARSER_URL="https://ufabc-parser.com") and the local extension .env (http://localhost:5001, no /v2).

Test plan

  • Built+zipped locally with the corrected value, inspected the bundle: base URL resolves to https://ufabc-parser.com with no /v2 suffix, while /v2/components/enrolled etc. still compose correctly from the request-path side

The connector's own request paths already prefix /v2 (e.g.
/v2/components/enrolled in packages/connectors/src/ufabc-parser.ts), so
the base URL needs to be bare. This was producing double /v2/v2/... paths
in every request once the Turbo env-passthrough fix let the value actually
reach the build. apps/core's own UFABC_PARSER_URL and the local extension
.env both already use the bare host, confirming this was the wrong value.
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