Skip to content

fix(invoices): print/PDF links target the API origin - #66

Merged
prit-007 merged 1 commit into
mainfrom
fix/invoice-link-origin
Oct 10, 2026
Merged

prit-007 merged 1 commit into
mainfrom
fix/invoice-link-origin

Conversation

@prit-007

Copy link
Copy Markdown
Collaborator

Print/PDF opened relative to the SPA origin (:3000) -> 404. Now use the exported, tenant-aware API_BASE_URL. Lint 0 · build OK.

window.open('/api/v1/invoices/..') resolved to the frontend origin (:3000) ->
404. Now use the tenant-aware API_BASE_URL (exported from services/api), so the
links open cafe1.localhost:4969 where the routes live. Verified 401 (auth) on
the API, not 404. Lint 0, build OK.
@prit-007
prit-007 merged commit 349fde8 into main Oct 10, 2026
3 checks passed
@prit-007
prit-007 deleted the fix/invoice-link-origin branch October 10, 2026 08:35
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