Browse Source

修改一下验证码,调试好麻烦

caoyang 7 months ago
parent
commit
51a38cba53
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .env.dev
  2. 1 1
      .env.local

+ 1 - 1
.env.dev

@@ -35,4 +35,4 @@ VITE_OUT_DIR=dist
 VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
 
 # 验证码的开关
-VITE_APP_CAPTCHA_ENABLE=true
+VITE_APP_CAPTCHA_ENABLE=false

+ 1 - 1
.env.local

@@ -9,7 +9,7 @@ VITE_BASE_URL='http://127.0.0.1:48080'
 # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
 VITE_UPLOAD_TYPE=server
 # 上传路径
-VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload'
+VITE_UPLOAD_URL='http://127.0.0.1:48080/admin-api/infra/file/upload'
 
 # 接口地址
 VITE_API_URL=/admin-api