config/index.js

(完整代码) 1KB

// const configObj = {
//     isDevelop: (isDev || isTest),
//     ...configDict[currentConfigKey],
//     // h5模式宽高
//     canvasH5Width: 500,//375
//     canvasH5Height: 500,//644
// 	proxyTable: { 
// 	  '/api': {  //使用"/api"来代替"http://f.apiplus.c" 
// 	        target: 'http://localhost:5151/', //源地址 
// 	        secure: false,      // 如果是https接口,需要配置这个参数
// 	        changeOrigin: true, //改变源 如果接口跨域,需要进行这个参数配置
// 	   } 
// 	},
//     dev: {
//             host: 'localhost',
//             port: 8080,
//             https: false,
//             open: true,
//             proxy: {
//                 '/api': {
//                     target: 'http://localhost:5151/',//设置你调用的接口域名和端口号 别忘了加http
//                     ws: true,
//                     port: 8080,
//                     changeOrigin: true,
//                 }
//             }
//         }
// }

// export default configObj

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。