From 726b654843a3c93f7c126a91ae057100d86507ab Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Thu, 1 Aug 2024 00:54:50 -0400 Subject: [PATCH] chore(pockethost): PH_HOME path builder --- packages/pockethost/src/constants.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/pockethost/src/constants.ts b/packages/pockethost/src/constants.ts index 23eca042..42ea00a0 100644 --- a/packages/pockethost/src/constants.ts +++ b/packages/pockethost/src/constants.ts @@ -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 = () =>