Static site hosting via tangled

Update

+1 -1
README.md
··· 12 12 "site": { 13 13 "ownerDid": "did:plc:p572wxnsuoogcrhlfrlizlrb", 14 14 "repoName": "tangled-pages-example", 15 - "knotDomain": "knot.gracekind.net", // optional, will look up via ownerDid 15 + "knotDomain": "knot.gracekind.net", // optional, but recommended in workers to avoid an extra request 16 16 "branch": "main", // optional, defaults to main 17 17 "baseDir": "/public", // optional, defaults to the repo root 18 18 "notFoundFilepath": "/404.html" // optional, defaults to text 404
+1
config.example.json
··· 1 1 { 2 2 "site": { 3 3 "ownerDid": "did:plc:p572wxnsuoogcrhlfrlizlrb", 4 + "knotDomain": "knot.gracekind.net", 4 5 "repoName": "tangled-pages-example", 5 6 "branch": "main", 6 7 "baseDir": "/public",
-1
src/server.js
··· 1 - import { PagesService } from "./pages-service.js"; 2 1 import express from "express"; 3 2 import yargs from "yargs"; 4 3 import { Handler } from "./handler.js";