use cors proxy correctly
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user