use cors proxy correctly

This commit is contained in:
2025-10-31 12:20:30 +00:00
parent eac14571e2
commit 387f75a4d3

View File

@@ -16,8 +16,8 @@ export default class Updater {
} }
private async getRawArchive(): Promise<string> { private async getRawArchive(): Promise<string> {
const res = await fetch(`https://cors.emaker.limited/?url=${this.archiveURL}.${this.feedType}`, { const res = await fetch(`http://cors.emaker.limited/?url=${this.archiveURL}.${this.feedType}`, {
"mode": "cors" // "mode": "cors"
}); });
const text = await res.text(); const text = await res.text();
return text; return text;