mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-13 07:40:56 +00:00
feat(task): replace built-in task adaptors with a sandboxed JS plugin system (#7076)
This commit is contained in:
@@ -17,7 +17,7 @@ export default defineConfig(({ envMode }) => {
|
||||
|
||||
const isProd = envMode === 'production'
|
||||
const devProxy = Object.fromEntries(
|
||||
(['/api', '/mj', '/pg'] as const).map((key) => [
|
||||
(['/api', '/v1', '/mj', '/pg'] as const).map((key) => [
|
||||
key,
|
||||
{ target: serverUrl, changeOrigin: true },
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user