export const proxy = {
	// 开发环境配置
	dev: {
		// 本地地址
		target: "http://127.0.0.1:5001/api",
		changeOrigin: true,
		rewrite: (path: string) => path.replace("/dev", "")
	},
	files: {
		// 本地地址
		target: "http://127.0.0.1:5001",
		changeOrigin: true,
	},
	api: {
		// 本地地址
		target: "https://www.xiaoxiongcode.com/api",
		changeOrigin: true,
		rewrite: (path: string) => path.replace("/api", "")
	},
	// 生产环境配置
	prod: {
		// 官方测试地址
		target: "https://www.xiaoxiongcode.com/api",
		changeOrigin: true,
		rewrite: (path: string) => path.replace("/prod", "")
	}
};

export const value = "prod";
