Member Junction
    Preparing search index...
    • Starts MJServer. The port is bound first, behind a startup gate: until the bootstrap finishes, /healthcheck answers 503 with the current phase, /healthcheck/live answers 200, and every other request gets 503 with Retry-After. A port already in use therefore fails at the start of boot, not the end. A bootstrap that throws marks the server failed (the health endpoint keeps saying so if the process stays up), logs the phase it failed in, and rethrows.

      Parameters

      • resolverPaths: string[]
      • app: Application = ...
      • Optionaloptions: MJServerOptions

      Returns Promise<void>