diff --git a/review/App.tsx b/review/App.tsx index 959474d..6af45db 100644 --- a/review/App.tsx +++ b/review/App.tsx @@ -11,7 +11,7 @@ export default function App() { console.log(token); if (token === "") { window.location.href = - "https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=access_token&redirect_uri=https%3A%2F%2Famy.rip%2Freview%2F&scope=identify"; + "https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=token&redirect_uri=https%3A%2F%2Famy.rip%2Freview%2F&scope=identify"; } let ref!: HTMLTextAreaElement; return ( diff --git a/src/components/api.tsx b/src/components/api.tsx index aecf87d..8b42153 100644 --- a/src/components/api.tsx +++ b/src/components/api.tsx @@ -46,7 +46,7 @@ export default function Reviews() { style={{ display: ishover() ? "inline" : "none", }} - href="https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=access_token&redirect_uri=https%3A%2F%2Famy.rip%2Freview%2F&scope=identify" + href="https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=token&redirect_uri=https%3A%2F%2Famy.rip%2Freview%2F&scope=identify" >
add your reviews here