export default () => ({
    host: true,
    port: 8080,
    proxy: {
        '/api': {
            target: 'https://mock.apifox.cn/m1/3156808-0-default',
            // target: 'http://127.0.0.1:8045/api',
            changeOrigin: true,
            rewrite: (path) => path.replace('/api', ''),
        },
    },
})
