Integrate unfinished server-rs refactor worklists

This commit is contained in:
2026-04-30 13:39:06 +08:00
parent 62934b0809
commit 7ab0933f6d
676 changed files with 24487 additions and 21531 deletions

View File

@@ -35,9 +35,12 @@ export function requestRpgRuntimeJson<T>(
const retry =
options.retry ??
(method === 'GET' ? RUNTIME_READ_RETRY : RUNTIME_WRITE_RETRY);
const normalizedPath = path.startsWith('/profile/')
? `/api${path}`
: `${RUNTIME_API_BASE}${path}`;
return requestJson<T>(
`${RUNTIME_API_BASE}${path}`,
normalizedPath,
{
...init,
signal: options.signal,