amy when she remembers she can just redirect people instead of being rude

This commit is contained in:
amy 2024-11-04 03:08:46 +03:30
parent 4f51d23416
commit 69e659723e
No known key found for this signature in database

View file

@ -5,8 +5,11 @@ import { sendReview } from '../src/components/api'
export default function App() { export default function App() {
const token = window.location.hash.substring(window.location.hash.indexOf("access_token") + "access_token".length + 1).substring(0, 30) const token = window.location.hash.substring(window.location.hash.indexOf("access_token") + "access_token".length + 1).substring(0, 30)
console.log(token) 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"
}
let ref!: HTMLTextAreaElement; let ref!: HTMLTextAreaElement;
return token !== "" ? <div class='reviewOuterparent'> return <div class='reviewOuterparent'>
<div class='reviewParent'> <div class='reviewParent'>
<img src="../fjonkie.png" alt="" /> <img src="../fjonkie.png" alt="" />
<span>(it doesnt)</span> <span>(it doesnt)</span>
@ -43,6 +46,6 @@ export default function App() {
}} class='sendButton'>send yo shi</button> }} class='sendButton'>send yo shi</button>
</div> </div>
</div> </div>
</div> : <div> fuckin dumbass doesnt know how to AUTHENTICATE BEFORE TRYING TO REVIEW</div> </div>
} }