removed proxy and added endpoints for methods
This commit is contained in:
@@ -136,14 +136,14 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
tokenExpiryTimeAt.getSeconds() + token.expires_in
|
||||
);
|
||||
|
||||
console.log(
|
||||
"token issued:",
|
||||
tokenIssuedAt.toUTCString(),
|
||||
"\n",
|
||||
"token expires:",
|
||||
tokenExpiryTimeAt.toUTCString()
|
||||
);
|
||||
console.log(token);
|
||||
// console.log(
|
||||
// "token issued:",
|
||||
// tokenIssuedAt.toUTCString(),
|
||||
// "\n",
|
||||
// "token expires:",
|
||||
// tokenExpiryTimeAt.toUTCString()
|
||||
// );
|
||||
// console.log(token);
|
||||
|
||||
token = token.access_token;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user