mirror of
https://github.com/nickzuber/meteorite.git
synced 2024-08-17 07:20:40 +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;
|
const code = params.code;
|
||||||
if (code) {
|
if (code) {
|
||||||
this.props.onSetLoading(true);
|
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(response => response.json())
|
||||||
.then(({token, error}) => {
|
.then(({token, error}) => {
|
||||||
this.props.onSetLoading(false);
|
this.props.onSetLoading(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user