Skip to content

ppagent / config

Variable: config

const config: object

Defined in: src/config.ts:182

Type declaration

configServerEmail

configServerEmail: string

configServerPassword

configServerPassword: string

configServerUrl

configServerUrl: string

dataPath

dataPath: string

dbConnection

dbConnection: string

dbProvider

dbProvider: string

host

host: string

httpUrl

httpUrl: string

minioMessageBucket

minioMessageBucket: string

npmRegistry

npmRegistry: string

npmTimeout

npmTimeout: number

offline

offline: boolean

port

port: number

privateHttpUrl

privateHttpUrl: string

privateWsUrl

privateWsUrl: string

publicForceAuth

publicForceAuth: boolean

publicPath

publicPath: string

公共资源路径,在本机的路径

publicPathName

publicPathName: string

公共资源访问的路径名

publicToken

publicToken: string

redisUrl

redisUrl: string = process.env.REDIS_URL

secretFile

secretFile: string

serverCompress

serverCompress: boolean

serverCompressMime

serverCompressMime: string[]

serverCompressMinSize

serverCompressMinSize: number

tempDir

tempDir: string

traceHttpRequest

traceHttpRequest: boolean

wsUrl

wsUrl: string