Skip to content

Fix assets TypeScript SDK v2 URLs#6

Closed
johnpyp wants to merge 1 commit into
masterfrom
codex/fix-assets-sdk-v2-url
Closed

Fix assets TypeScript SDK v2 URLs#6
johnpyp wants to merge 1 commit into
masterfrom
codex/fix-assets-sdk-v2-url

Conversation

@johnpyp
Copy link
Copy Markdown
Contributor

@johnpyp johnpyp commented May 25, 2026

The assets TypeScript SDK currently generates /v2/* requests against https://assets.deadlock-api.com. Those requests redirect to https://api.deadlock-api.com/v1/assets/, which browsers can choke on as a cross-origin redirect.\n\nThis keeps raw asset endpoints on the assets host, but rewrites generated /v2/ SDK requests to the canonical API assets URL before Axios sends the request. The patch is applied from typescript/patch.mjs so regenerated assets clients keep the fix.

@johnpyp johnpyp force-pushed the codex/fix-assets-sdk-v2-url branch from fb17662 to b64f8d4 Compare May 25, 2026 03:13
@johnpyp johnpyp closed this May 25, 2026
@johnpyp
Copy link
Copy Markdown
Contributor Author

johnpyp commented May 25, 2026

Codex created this on its own lol

@raimannma raimannma deleted the codex/fix-assets-sdk-v2-url branch May 25, 2026 19:22
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