fix: cors proxy

This commit is contained in:
neoapps-dev 2026-04-20 21:26:13 +03:00
parent 2d086b571c
commit bf26f9efc8
2 changed files with 2 additions and 1 deletions

View file

@ -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: {

View file

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