This commit is contained in:
2026-10-27 23:44:33 +08:00
parent 035bb089af
commit 0a61e57f9d
10 changed files with 40 additions and 38 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import type { Plugin } from 'vite'
import { mockRules, type MockContext } from './index'
const MOCK_PREFIX = '/api/v1'
const MOCK_PREFIX = '/api'
function readBody(req: NodeJS.ReadableStream): Promise<string> {
return new Promise((resolve) => {