Skip to content

Fix: Correct admin client URLs to match Strapi 5 routes and fix 404s#122

Open
molund wants to merge 1 commit intostrapi-community:mainfrom
molund:fix-admin-urls
Open

Fix: Correct admin client URLs to match Strapi 5 routes and fix 404s#122
molund wants to merge 1 commit intostrapi-community:mainfrom
molund:fix-admin-urls

Conversation

@molund
Copy link
Contributor

@molund molund commented Feb 17, 2026

Summary

This PR updates the plugin’s admin client URLs to match the updated route structure introduced in Strapi 5. In Strapi 5, admin‑related endpoints were moved under the /admin namespace, but the plugin’s client-side code was still calling the older, pre‑Strapi 5 paths. This mismatch caused persistent 404 errors in the Admin console.

What’s Changed

  • Updated the admin-side requests to use the correct Strapi 5 URLs for:

    • Cache strategy endpoint
    • Cache purge endpoint(s)
  • No changes were made to server routes — this PR updates only the plugin’s client code to align with Strapi 5.

/admin/rest-cache/config/strategy
/admin/rest-cache/purge

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

Comments