MCPcopy Create free account
hub / github.com/MALSync/MALSync / getPage

Method getPage

src/pages-sync/syncPage.ts:99–102  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

97 }
98
99 private getPage(url) {
100 if (this.pages.type) return this.pages;
101 return getPageConfig(url, this.pages);
102 }
103
104 private domainSet() {
105 this.page.domain = new URL(window.location.href).origin;

Callers 1

constructorMethod · 0.95

Calls 1

getPageConfigFunction · 0.90

Tested by

no test coverage detected