| 1234567891011121314151617 |
- import { defineConfig } from 'vite';
- import uni from '@dcloudio/vite-plugin-uni';
- export default defineConfig(() => {
- return {
- plugins: [uni()],
- server: {
- proxy: {
- '/api/mini': {
- target: 'https://ss.erp.cash',
- changeOrigin: true,
- headers: { Origin: 'https://ss.erp.cash' },
- },
- },
- },
- };
- });
|