use a cors proxy to avoid rss feed fetch issues
This commit is contained in:
3 files changed
+7
-3
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ export default class Updater {
|
||||
}
|
||||
|
||||
private async getRawArchive(): Promise<string> {
|
||||
const res = await fetch(`${this.archiveURL}.${this.feedType}`, {
|
||||
const res = await fetch(`https://cors.emaker.limited/?url=${this.archiveURL}.${this.feedType}`, {
|
||||
"mode": "cors"
|
||||
});
|
||||
const text = await res.text();
|
||||
|
||||
Reference in new issue
Block a user