mirror of
https://github.com/LCE-Hub/piston.git
synced 2026-07-15 21:32:26 +00:00
\n
This commit is contained in:
@@ -38,7 +38,7 @@ function App() {
|
||||
const initiateDeviceFlow = async () => {
|
||||
try {
|
||||
setLoginStatus('Requesting code...');
|
||||
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/device/code`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user