mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 11:20:18 +08:00
fix: fix all frontend warnings (#983)
* fix:fix all frontend warnings * fix:fix all frontend warnings * fix:fix all frontend warnings * fix:fix all frontend warnings * fix:fix all frontend warnings * fix:fix all frontend warnings
This commit is contained in:
@ -16,7 +16,7 @@ import React from "react";
|
||||
import * as Setting from "../Setting";
|
||||
|
||||
class OdicDiscoveryPage extends React.Component {
|
||||
componentWillMount() {
|
||||
UNSAFE_componentWillMount() {
|
||||
if (Setting.isLocalhost()) {
|
||||
Setting.goToLink(`${Setting.ServerUrl}/.well-known/openid-configuration`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user