From 80e902f9c1c4efd35d1dae389efe834186db8d1f Mon Sep 17 00:00:00 2001 From: amy Date: Mon, 4 Nov 2024 03:28:05 +0330 Subject: [PATCH] amy is just stupid --- package.json | 3 ++- review/App.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 65e9a5c..b808fa5 100644 --- a/package.json +++ b/package.json @@ -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" } diff --git a/review/App.tsx b/review/App.tsx index 6d9217e..bc02f33 100644 --- a/review/App.tsx +++ b/review/App.tsx @@ -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