mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-24 22:45:47 +00:00
10 lines
341 B
TypeScript
10 lines
341 B
TypeScript
import { join } from 'path'
|
|
import { PH_HOME, Settings, mkPath } from 'pockethost/core'
|
|
|
|
const HOME_DIR =
|
|
process.env.PH_INSTANCE_LOGGER_FILE_REALTIME_TAIL_HOME || join(PH_HOME(), `plugin-instance-logger-file-realtime-tail`)
|
|
|
|
const settings = Settings({
|
|
PH_INSTANCE_LOGGER_FILE_REALTIME_TAIL_HOME: mkPath(HOME_DIR, { create: true }),
|
|
})
|