Skip to content

iili: follow the API rename off /r3dr/v2 - #279

Merged
aaylward merged 1 commit into
mainfrom
iili-rename
Aug 23, 2026
Merged

iili: follow the API rename off /r3dr/v2#279
aaylward merged 1 commit into
mainfrom
iili-rename

Conversation

@aaylward

Copy link
Copy Markdown
Contributor

Companion to muchq/MoonBase#1435, which renames the shortener to iili and moves its paths to /iili/v1/* with no alias. /r3dr/v2 stops answering when that host deploys, so this page has to move with it.

  • API base → https://api.muchq.com/iili/v1, and VITE_R3DR_API_URLVITE_IILI_API_URL.
  • src/apps/r3drsrc/apps/iili; R3drPageIiliPage with its module CSS and test.
  • Route /iili, nav entry iili.

Two things deliberately kept

/r3dr redirects rather than 404s. Links to muchq.com/r3dr are already out there and the rename shouldn't break them, so the old path <Navigate>s to /iili.

Saved recents survive. The localStorage key becomes iili.recent, but loadRecent falls back to the pre-rename r3dr.recent and the next save moves the list over, so nobody's recent links disappear. Both are pinned by tests, along with the redirect — this adds the repo's first App-level route test.

Nav disambiguation

Elsewhere's entry becomes iili.uk ("The shortener on its own domain"). It was added as "iili" in #278, when Projects still said "r3dr"; with both renamed there would be two menu entries labelled iili pointing at different places.

Verified

464 tests across 41 files, lint and typecheck clean.

Merge order

After MoonBase#1435 is merged and its host deploy has run — until then /iili/v1 does not answer and this page cannot mint. muchq.com/iili is down for the window between that deploy and this merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ST7XLGWstRE4CfUF84ijKD


Generated by Claude Code

MoonBase renames the shortener to iili with no alias, so this page has to
move with it: the API base becomes api.muchq.com/iili/v1, the app and its
page files become iili, and the route is /iili. The old /r3dr redirects
rather than 404s, since links to it are already out there, and saved
recents are read from the pre-rename localStorage key once so nobody's
list disappears. Elsewhere's entry becomes iili.uk to distinguish the
standalone site from this page now that both are called iili.

Requires the MoonBase deploy first: /r3dr/v2 stops answering when the
host takes the rename.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ST7XLGWstRE4CfUF84ijKD
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
muchq f8cb05a Commit Preview URL

Branch Preview URL
Aug 22 2026, 01:53 PM

@aaylward
aaylward merged commit 192d75d into main Aug 23, 2026
2 checks passed
@aaylward
aaylward deleted the iili-rename branch August 23, 2026 02:26
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