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