mirror of
https://github.com/nickzuber/meteorite.git
synced 2024-07-14 23:00:32 +03:00
fix auth
This commit is contained in:
parent
c4c0d25253
commit
de4101c5d9
@ -7,7 +7,7 @@ export default class TokenHandler extends React.Component {
|
||||
const code = params.code;
|
||||
if (code) {
|
||||
this.props.onSetLoading(true);
|
||||
fetch(`https://meteorite-gatekeeper.herokuapp.com/authenticate/${code}`)
|
||||
fetch(`https://getskipper.dev/api/meteorite-auth/${code}`)
|
||||
.then(response => response.json())
|
||||
.then(({token, error}) => {
|
||||
this.props.onSetLoading(false);
|
||||
|
Loading…
Reference in New Issue
Block a user