fix: my life
Some checks failed
Deploy to GitHub Pages / build-and-deploy (push) Has been cancelled

This commit is contained in:
neoapps-dev 2026-09-18 23:46:25 +03:00
parent 145294df80
commit 47152791a7

View file

@ -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;