From bf26f9efc8d8a8d1db185f916a46b9ea5bb2f29d Mon Sep 17 00:00:00 2001 From: neoapps-dev Date: Mon, 20 Apr 2026 21:26:13 +0300 Subject: [PATCH] fix: cors proxy --- src/App.tsx | 2 +- src/UploadModal.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index f379f93..b11f99d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -69,7 +69,7 @@ function App() { let timeoutId: number; const poll = async () => { try { - const proxyRoute = import.meta.env.DEV ? '/github-proxy' : 'https://proxy.corsfix.com/?https://github.com'; + const proxyRoute = import.meta.env.DEV ? '/github-proxy' : 'https://corsproxy.io/?url=https://github.com'; const res = await fetch(`${proxyRoute}/login/oauth/access_token`, { method: 'POST', headers: { diff --git a/src/UploadModal.tsx b/src/UploadModal.tsx index 4f58d73..02b76a3 100644 --- a/src/UploadModal.tsx +++ b/src/UploadModal.tsx @@ -97,6 +97,7 @@ export default function UploadModal({ onClose, pat }: UploadModalProps) { name, author: api.username, description, + extended_description: "", //neo: TODO: implement category, thumbnail: thumbnail.name, zips: zipsMapping,