mirror of
https://github.com/ascribe/onion.git
synced 2025-01-08 20:55:59 +01:00
login location with baseurl
This commit is contained in:
parent
d980ef7949
commit
93c1b2e826
@ -10,6 +10,7 @@ import Form from './ascribe_forms/form';
|
||||
import Property from './ascribe_forms/property';
|
||||
|
||||
import apiUrls from '../constants/api_urls';
|
||||
import AppConstants from '../constants/application_constants';
|
||||
|
||||
|
||||
let LoginContainer = React.createClass({
|
||||
@ -45,7 +46,7 @@ let LoginForm = React.createClass({
|
||||
Users on Stack Overflow claim this is a bug in chrome and should be fixed in the future.
|
||||
Until then, we redirect the HARD way, but reloading the whole page using window.location
|
||||
*/
|
||||
window.location = '/collection';
|
||||
window.location = AppConstants.baseUrl + '/collection';
|
||||
},
|
||||
|
||||
render() {
|
||||
|
Loading…
Reference in New Issue
Block a user