Add setAuthServerUrl().

This commit is contained in:
Yang Luo
2021-02-14 15:59:25 +08:00
parent 277dec0af3
commit 9b45e5fe43
4 changed files with 10 additions and 3 deletions

View File

@ -32,6 +32,7 @@ import HomePage from "./basic/HomePage";
import CustomGithubCorner from "./CustomGithubCorner";
import Face from "./auth/Face";
import * as Auth from "./auth/AuthBackend";
import * as AuthBackend from "./auth/AuthBackend";
import AuthCallback from "./auth/AuthCallback";
@ -47,6 +48,7 @@ class App extends Component {
};
Setting.initServerUrl();
Auth.setAuthServerUrl(Setting.ServerUrl);
}
componentWillMount() {