Spaces:
Running
Running
File size: 441 Bytes
3d4293e | 1 2 3 4 5 6 7 8 9 | import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
base: '/',
build: { outDir: 'dist', assetsDir: 'assets', emptyOutDir: true, chunkSizeWarningLimit: 1200 },
server: { proxy: { '/api': { target: 'https://ethscriptions-xiaoshuo.hf.space', changeOrigin: true }, '/fanqie/api': { target: 'https://ethscriptions-xiaoshuo.hf.space', changeOrigin: true } } },
})
|