← @mortar-kit/core/server

FileBlobStoreOptionsinterface

import { FileBlobStoreOptions } from '@mortar-kit/core/server'

interface FileBlobStoreOptions

Properties

dir: string

Directory holding the files, resolved against the working directory. Created on first upload. Keep it out of the app's public folder: serve it with serveBlob.

baseUrl?: string

Prefix of url(key): where the app serves the folder. Default /uploads/.