|
|
@ -2,7 +2,7 @@
|
|
|
|
* @Author: Chengliang 1546584672@qq.com
|
|
|
|
* @Author: Chengliang 1546584672@qq.com
|
|
|
|
* @Date: 2023-08-16 11:22:18
|
|
|
|
* @Date: 2023-08-16 11:22:18
|
|
|
|
* @LastEditors: Chengliang 1546584672@qq.com
|
|
|
|
* @LastEditors: Chengliang 1546584672@qq.com
|
|
|
|
* @LastEditTime: 2023-08-17 13:59:41
|
|
|
|
* @LastEditTime: 2023-08-24 15:58:29
|
|
|
|
* @FilePath: /org-chart-frant/.umirc.ts
|
|
|
|
* @FilePath: /org-chart-frant/.umirc.ts
|
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -27,7 +27,7 @@ export default defineConfig({
|
|
|
|
proxy: {
|
|
|
|
proxy: {
|
|
|
|
'/api': {
|
|
|
|
'/api': {
|
|
|
|
// 标识需要进行转换的请求的url
|
|
|
|
// 标识需要进行转换的请求的url
|
|
|
|
target: 'http://127.0.0.1:8686/api', // 服务端域名 / http://localhost:8686
|
|
|
|
target: 'http://127.0.0.1:8686/api', // 服务端域名
|
|
|
|
//target: 'http://221.226.25.34:11080/api',
|
|
|
|
//target: 'http://221.226.25.34:11080/api',
|
|
|
|
changeOrigin: true, // 允许域名进行转换
|
|
|
|
changeOrigin: true, // 允许域名进行转换
|
|
|
|
pathRewrite: { '^/api': '' }, // 将请求url里的ci去掉
|
|
|
|
pathRewrite: { '^/api': '' }, // 将请求url里的ci去掉
|
|
|
|