Skip to content

BlockSuite API Documentation / @blocksuite/blocks / docLinkBaseURLMiddlewareBuilder

Function: docLinkBaseURLMiddlewareBuilder()

docLinkBaseURLMiddlewareBuilder(baseUrl): object

Parameters

baseUrl: string

Returns

object

get()

get: () => JobMiddleware

Returns

JobMiddleware

set()

set: (customBaseUrl) => void

Parameters

customBaseUrl: string

Returns

void

Defined in

packages/blocks/src/_common/transformers/middlewares.ts:221