Git.ApiLive reference
ApiLive
Section titled “ApiLive”Source:
packages/git/src/Server.tsKind: Layer
Git’s public routes as an ordinary HttpRouter layer. Merge this with your application’s routes and provide your route middleware to the result. The application owns its API, HTTP server, platform, and CORS policy.
const Routes = Layer.mergeAll(AppApiLive, Git.ApiLive).pipe( Layer.provide(Authentication.layer),);