mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-08 22:42:56 +08:00
Add DefaultApplication to conf
This commit is contained in:
@@ -107,7 +107,7 @@ class App extends Component {
|
||||
Setting.initServerUrl();
|
||||
Auth.initAuthWithConfig({
|
||||
serverUrl: Setting.ServerUrl,
|
||||
appName: "app-built-in", // the application name of Casdoor itself, do not change it
|
||||
appName: Conf.DefaultApplication, // the application used in Casdoor root path: "/"
|
||||
});
|
||||
}
|
||||
|
||||
|
@@ -12,15 +12,15 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
export const DefaultApplication = "app-built-in";
|
||||
|
||||
export const ShowGithubCorner = false;
|
||||
export const GithubRepo = "https://github.com/casdoor/casdoor";
|
||||
export const IsDemoMode = false;
|
||||
|
||||
export const ForceLanguage = "";
|
||||
export const DefaultLanguage = "en";
|
||||
|
||||
export const EnableExtraPages = true;
|
||||
|
||||
export const EnableChatPages = true;
|
||||
|
||||
export const InitThemeAlgorithm = true;
|
||||
|
@@ -30,7 +30,7 @@ class CustomGithubCorner extends React.Component {
|
||||
}
|
||||
|
||||
return (
|
||||
<GithubCorner href={Conf.GithubRepo} size={60} />
|
||||
<GithubCorner href={"https://github.com/casdoor/casdoor"} size={60} />
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user