From f6d7939b9e2da5eb1e150fd68589878278f5e4c4 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Wed, 5 Jul 2023 06:31:05 +0200 Subject: [PATCH] Split at dist path. --- src/node/utils/AbsolutePaths.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/AbsolutePaths.ts b/src/node/utils/AbsolutePaths.ts index 5356c5564..e5514c669 100644 --- a/src/node/utils/AbsolutePaths.ts +++ b/src/node/utils/AbsolutePaths.ts @@ -91,7 +91,7 @@ export const findEtherpadRoot = () => { * * \src */ - let maybeEtherpadRoot = popIfEndsWith(splitFoundRoot, ['src']); + let maybeEtherpadRoot = popIfEndsWith(splitFoundRoot, ['dist']); if ((maybeEtherpadRoot === false) && (process.platform === 'win32')) { /*