removed proxy and added endpoints for methods

This commit is contained in:
2022-01-11 17:51:41 +00:00
parent b88bbb2696
commit 545f1c9b78
52 changed files with 2236 additions and 822 deletions
+8 -8
View File
@@ -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;