mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-04 13:16:41 +00:00
chore(pockethost): PH_HOME path builder
This commit is contained in:
parent
7bfc99af22
commit
726b654843
@ -198,7 +198,8 @@ export const instanceLogger = () => ioc.service('instanceLogger')
|
||||
/** Accessors */
|
||||
export const PH_PLUGINS = () => settings().PH_PLUGINS
|
||||
|
||||
export const PH_HOME = () => settings().PH_HOME
|
||||
export const PH_HOME = (...paths: string[]) =>
|
||||
join(settings().PH_HOME, ...paths)
|
||||
export const PH_PROJECT_ROOT = () => settings().PH_PROJECT_ROOT
|
||||
|
||||
export const DEBUG = () =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user