import { type ExtensionServeContentOpts } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/mod.node.ts";
sourceShare
: The share to use as the source of documents. Must have been created by another extension.path
: An optional path prefix for requests. E.g./stuff
means a call to/stuff/blog.md
would fetch/blog.md
from the replica.indexPath
: A fallback path to use when none is provided. Useful for landing pages.allowOrigins
: A list of origins allowed by CORS, if you want other sites to be able to request content from your replica server.