Skip to main content
Go to Latest
File
import type { ErrorMessage } from './ErrorMessage.d.ts'
export type DarkflareConfiguration = { name?: string
base?: string
cors?: string
cache?: number | string
/** * @deprecated Refer to [#297](https://github.com/azurystudio/darkflare/pull/297). */ passThroughOnException?: boolean
onError?: (err: ErrorMessage, request: Request) => Response
realm?: { app: string database: string token: string }
s3?: { account: string client: { id: string secret: string } }
encryption?: { secretKey: string }
oauth2?: { github: { client: { id: string secret: string } } }}