@darthcav/ts-http-server
    Preparing search index...

    Function defaultFastifyOptions

    • Returns base FastifyServerOptions used as defaults in launcher.

      Uses getConsoleFastifyLogger as loggerInstance so that all Fastify internal logs are routed through LogTape under logger.category. Built-in per-request logging is disabled in favor of the preHandler and onResponse hooks, which emit structured access log lines.

      Generates request IDs via crypto.randomUUID() and enables proxy trust. Callers may override any field by spreading their own options on top.

      Parameters

      • logger: Logger

        The application LogTape logger; its category is used as the base category for Fastify's own logger.

      Returns FastifyServerOptions