Skip to content

Commit 812526c

Browse files
committed
Use another cors proxy
1 parent cc98aca commit 812526c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/apps/Avalonia/Highbyte.DotNet6502.App.Avalonia.Core/SystemSetup/C64HostConfig.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ public class C64HostConfig : IHostSystemConfig, ICloneable
1414

1515
//public const string DefaultCorsProxyURL = "https://api.allorigins.win/raw?url="; // Doesn't work reliably
1616
//public const string DefaultCorsProxyURL = "https://corsproxy.io/?url="; // Stopped being possible to download binary files on free tier
17-
public const string DefaultCorsProxyURL = "https://proxy.corsfix.com/?url=";
17+
//public const string DefaultCorsProxyURL = "https://proxy.corsfix.com/?url="; // Only free from localhost
18+
public const string DefaultCorsProxyURL = "https://cors-anywhere.com/";
1819

1920
private C64SystemConfig _systemConfig = new();
2021
ISystemConfig IHostSystemConfig.SystemConfig => _systemConfig;

src/apps/Highbyte.DotNet6502.App.WASM/Emulator/SystemSetup/C64HostConfig.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ public class C64HostConfig : IHostSystemConfig, ICloneable
1313
//public const string DefaultCorsProxyURL = "https://api.allorigins.win/raw?url="; // Doesn't work reliably
1414
//public const string DefaultCorsProxyURL = "https://thingproxy.freeboard.io/fetch/"; // Doesn't seem to work with redirects
1515
//public const string DefaultCorsProxyURL = "https://corsproxy.io/?url="; // Stopped being possible to download binary files on free tier
16-
public const string DefaultCorsProxyURL = "https://proxy.corsfix.com/?url=";
16+
//public const string DefaultCorsProxyURL = "https://proxy.corsfix.com/?url="; // Only free from localhost
17+
public const string DefaultCorsProxyURL = "https://cors-anywhere.com/";
1718

1819
private C64SystemConfig _systemConfig;
1920
ISystemConfig IHostSystemConfig.SystemConfig => _systemConfig;

0 commit comments

Comments
 (0)