init repo
This commit is contained in:
14
dist/index.es.js
vendored
Normal file
14
dist/index.es.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user