Revert PR #2 — plugin moved to single-segment URL, fix no longer needed#3
Revert PR #2 — plugin moved to single-segment URL, fix no longer needed#3nothing-stops-this-train wants to merge 1 commit into
Conversation
|
Closing — tested on the regtest rig and the hypothesis didn't hold. Setup: pointed the VPS at this branch ( Result: 0/6 fresh-context loads of So a single-segment URL doesn't sidestep the bug for vuems-registered plugin routes. The recovery that lets Keeping the patch on |
Revert of #2.
#2 patched Nuxt's
getLocationquirk so that plugin routes one or more segments deep below the admin base (e.g. `/admin/plugins/liquidityhelper`) would resolve on a fresh load. That worked, but it's a workaround in the bitcart-admin tree for what is really a plugin-side decision.The liquidityhelper plugin route is now a single segment (`/admin/liquidityhelper` — see BareBits/bitcart_liquidity@), which sidesteps the quirk entirely. Single-segment URLs already work on upstream router.js — that's how every built-in admin page (`/admin/stores`, `/admin/invoices`, `/admin/plugins`) loads. So we no longer need the trailing-slash normalization, and reverting keeps this fork minimally diverged from upstream bitcart-admin.
Test plan