Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
TypeScript
123456789101112131415161718import 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<Parameters<typeof domainFixture.fetch>[1]>;