Files
UpdaterWebLibrary/dist/index.es.js
2025-10-21 22:18:18 +01:00

15 lines
341 B
JavaScript

class Updater {
archiveURL;
feedType;
constructor(archiveURL = "/", feedType = "rss") {
this.archiveURL = archiveURL;
this.feedType = feedType;
}
async getArchive() {
const res = await fetch(`${this.archiveURL}.${this.feedType}`);
console.log(res);
}
}
export { Updater as default };