mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
Add setAuthServerUrl().
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user