Static site hosting via tangled
at main 716 B view raw
1{ 2 "sites": [ 3 { 4 "subdomain": "example", 5 "ownerDid": "did:plc:p572wxnsuoogcrhlfrlizlrb", 6 "repoName": "tangled-pages-example", 7 "branch": "main", 8 "baseDir": "/public", 9 "notFoundFilepath": "/404.html" 10 }, 11 { 12 "subdomain": "url-example", 13 "tangledUrl": "https://tangled.sh/@gracekind.net/tangled-pages-example", 14 "tangledUrl:comment": "This will render the same site as above, but it's an example of how to use the tangledUrl field", 15 "branch": "main", 16 "baseDir": "/public", 17 "notFoundFilepath": "/404.html" 18 } 19 ], 20 "subdomainOffset": 1, 21 "subdomainOffset:comment": "Subdomain offset will usually be 1 for localhost, 2 for production" 22}