Change URLs

This commit is contained in:
Marquis Kurt 2019-05-03 13:09:33 -04:00
parent 6dbd6b6224
commit fd442bb2b1
2 changed files with 2 additions and 3 deletions

View File

@ -20,12 +20,11 @@ function createWindow() {
}
);
mainWindow.loadURL(`file://${path.join(__dirname, '../build/index.html')}`);
mainWindow.loadURL(`file://${path.join(__dirname, '../build/index.html#/')}`);
mainWindow.on('closed', () => {
mainWindow = null
});
}
function createMenubar() {

View File

@ -214,7 +214,7 @@ class WelcomePage extends Component<IWelcomeProps, IWelcomeState> {
}
authorizeEmergencyLogin() {
window.location.href = `/?code=${this.state.authCode}#/`;
window.location.href = `${this.state.defaultRedirectAddress}/?code=${this.state.authCode}#/`;
}
resumeLogin() {