From 2591f28ccc1398b491156582f78e586c64c5917a Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 22 Mar 2021 09:37:37 +0800 Subject: [PATCH] bug --- src/AppConfig.js | 2 +- src/modules/login/LoginDialog.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AppConfig.js b/src/AppConfig.js index a2b53c06..9bf5e095 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -25,7 +25,7 @@ if (isDev) { } debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' : window.location.search.indexOf('debug=s') !== -1 ? 'student' : - window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin' + window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 's' } function clearAllCookie() { cookie.remove('_educoder_session', { path: '/' }); diff --git a/src/modules/login/LoginDialog.js b/src/modules/login/LoginDialog.js index 47fad4b1..bd57e094 100644 --- a/src/modules/login/LoginDialog.js +++ b/src/modules/login/LoginDialog.js @@ -580,9 +580,9 @@ class LoginDialog extends Component { - this.getloginurl("http://39.105.176.215/account/lost_password")} + this.getloginurl("https://osredm.com/account/lost_password")} className="mr3 color-grey-9">找回密码 - this.getloginurl("http://39.105.176.215/user_join")} className="color-grey-9">注册 + this.getloginurl("https://osredm.com/user_join")} className="color-grey-9">注册