From 47152791a75397f79869b89548ce2846deea8ad2 Mon Sep 17 00:00:00 2001 From: neoapps-dev Date: Fri, 18 Sep 2026 23:46:25 +0300 Subject: [PATCH] fix: my life --- src/App.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 114f8c9..44e43d9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -92,7 +92,7 @@ function App() { const initiateDeviceFlow = async () => { try { setLoginStatus('Requesting code...'); - const proxyRoute = import.meta.env.DEV ? '/github-proxy' : 'https://corsproxy.io/?url=https://github.com'; + const proxyRoute = import.meta.env.DEV ? '/github-proxy' : 'https://pistonproxy.lcehub.org'; const res = await fetch(`${proxyRoute}/login/device/code`, { method: 'POST', headers: { @@ -123,7 +123,7 @@ function App() { let timeoutId: number; const poll = async () => { try { - const proxyRoute = import.meta.env.DEV ? '/github-proxy' : 'https://corsproxy.io/?url=https://github.com'; + const proxyRoute = import.meta.env.DEV ? '/github-proxy' : 'https://pistonproxy.lcehub.org'; const res = await fetch(`${proxyRoute}/login/oauth/access_token`, { method: 'POST', headers: { @@ -385,4 +385,4 @@ function App() { ); } -export default App; +export default App; \ No newline at end of file