feat: 手机验证码调试
This commit is contained in:
@@ -119,7 +119,7 @@ export default function SettingsPage() {
|
||||
try {
|
||||
const API_BASE_URL = process.env.NODE_ENV === 'production'
|
||||
? ""
|
||||
: process.env.REACT_APP_API_URL || "http://49.232.185.254:5000";
|
||||
: process.env.REACT_APP_API_URL || "http://49.232.185.254:5001";
|
||||
|
||||
const response = await fetch(`${API_BASE_URL}/api/account/password-status`, {
|
||||
method: 'GET',
|
||||
@@ -188,7 +188,7 @@ export default function SettingsPage() {
|
||||
// 调用后端API修改密码
|
||||
const API_BASE_URL = process.env.NODE_ENV === 'production'
|
||||
? ""
|
||||
: process.env.REACT_APP_API_URL || "http://49.232.185.254:5000";
|
||||
: process.env.REACT_APP_API_URL || "http://49.232.185.254:5001";
|
||||
|
||||
const response = await fetch(`${API_BASE_URL}/api/account/change-password`, {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user