@well-known-js/tanstack-start
v1.0.2
Published
TanStack Start server handlers for .well-known routes.
Maintainers
Readme
@well-known-js/tanstack-start
TanStack Start server handler for serving configured /.well-known/* routes.
Installation
pnpm add @well-known-js/tanstack-start @well-known-js/coreUsage
import { createWellKnownServerHandler } from "@well-known-js/tanstack-start";
import config from "../../../well-known.config.js";
const handleWellKnown = createWellKnownServerHandler(config);Call the handler from a catch-all server route below /.well-known. It accepts a standard
Request, returns a standard Response, and produces a 404 for unknown provider paths.
