MCPcopy Create free account
hub / github.com/breck7/scroll / constructor

Method constructor

external/.helpfulNotFound.js:9–11  ·  view source on GitHub ↗
(sitemapUrls = "/sitemap.txt")

Source from the content-addressed store, hash-verified

7// This script will fetch your sitemap, find the closest matching link, and suggest that to the user.
8class NotFoundApp {
9 constructor(sitemapUrls = "/sitemap.txt") {
10 this.load(sitemapUrls)
11 }
12
13 async load(sitemapUrls) {
14 const getSuggestion = async () => {

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected