Skip to content

Stop prefixing character avatars with the legacy HotUtils image host - #117

Open
hotutils wants to merge 2 commits into
grandivory:developfrom
hotutils:fix/hotutils-v2-image-urls
Open

Stop prefixing character avatars with the legacy HotUtils image host#117
hotutils wants to merge 2 commits into
grandivory:developfrom
hotutils:fix/hotutils-v2-image-urls

Conversation

@hotutils

@hotutils hotutils commented Sep 5, 2026

Copy link
Copy Markdown

The optimizer's backend (mods-optimizer-api, MR on GitLab) now serves /characters/ from HotUtils V2, whose baseImage is an absolute URL on HotUtils' public image mirror. The startsWith('/') branch in GameSettings that prefixed https://api.hotutils.com/images is therefore dead code, and that host is being switched off with the rest of the legacy HotUtils API — so this takes avatarUrl as given.

No behaviour change for users once the backend MR is deployed; before it, legacy paths would render as broken images, so merge this after (or together with) the backend switch.

🤖 Generated with Claude Code

jasonkenyon and others added 2 commits September 5, 2026 12:39
The optimizer's backend now serves character definitions from HotUtils V2, whose baseImage is an absolute URL on
HotUtils' public image mirror. The relative-path branch that prefixed https://api.hotutils.com/images is dead code
and that host is being switched off, so GameSettings takes the URL as given.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UHQhYd9PioAZWHond3F1Mw
…elopment

Every call to the optimizer API used the production host inline. One constant, overridable through CRA's
REACT_APP_API_BASE, lets a local build talk to a local run of mods-optimizer-api (its local_server.py) -- which is
how the HotUtils V2 switch was tested end to end. Production builds are unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UHQhYd9PioAZWHond3F1Mw
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.

2 participants