amy is just stupid
This commit is contained in:
parent
69e659723e
commit
80e902f9c1
2 changed files with 3 additions and 2 deletions
|
@ -16,5 +16,6 @@
|
|||
"typescript": "^5.2.2",
|
||||
"vite": "^5.3.1",
|
||||
"vite-plugin-solid": "^2.10.2"
|
||||
}
|
||||
},
|
||||
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ export default function App() {
|
|||
const token = window.location.hash.substring(window.location.hash.indexOf("access_token") + "access_token".length + 1).substring(0, 30)
|
||||
console.log(token)
|
||||
if (token === "") {
|
||||
window.location.hash = "https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=token&redirect_uri=https%3A%2F%2Fexhq.dev%2Freview%2F&scope=identify"
|
||||
window.location.href = "https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=token&redirect_uri=https%3A%2F%2Fexhq.dev%2Freview%2F&scope=identify"
|
||||
}
|
||||
let ref!: HTMLTextAreaElement;
|
||||
return <div class='reviewOuterparent'>
|
||||
|
|
Loading…
Reference in a new issue