import publisher from "../../control-plane/index"; import domainFixture from "./domain-workflow-worker"; export { AuthVault, InstallationRegistry, InstallationWorkflow, DomainProvider, } from "./domain-workflow-worker"; export default { async fetch(request, env, ctx) { const path = new URL(request.url).pathname; return path.startsWith("/fixture/") || path.startsWith("/api/installations") ? domainFixture.fetch(request, env) : publisher.fetch(request, env, ctx); }, } satisfies ExportedHandler[1]>;