Import `ADMIN_LOGIN_PATH` and `normalizeAdminApiPath`, normalize `config.url` before signing, and replace direct `/login` redirects with `ADMIN_LOGIN_PATH`.
Import `ADMIN_LOGIN_PATH` and `normalizeAdminApiPath`, normalize `config.url` before signing, and replace direct `/login` redirects with `ADMIN_LOGIN_PATH`.
-[]**Step 8: Fix login widget URLs that bypass the shared Axios clients**
-[]**Step 8: Preserve login widget business paths behind the shared Axios client**
Change the captcha props in `apps/admin/src/pages/user-module/login/index.jsx`:
The captcha implementation imports `@/utils/request.js`, so its URLs are business paths consumed by the shared Axios client. Keep the existing props in `apps/admin/src/pages/user-module/login/index.jsx`:
```jsx
```jsx
initUrl="/api/admin/user/login/initData"
initUrl="/user/login/initData"
verifyUrl="/api/admin/user/login/checkVerify"
verifyUrl="/user/login/checkVerify"
```
```
Do not prefix these values with `/api/admin`; the Axios `baseURL` owns that gateway prefix. Adding it here would produce `/api/admin/api/admin/...`.