From f4defc0d7860c046aa932e086539056b75c33edb Mon Sep 17 00:00:00 2001 From: Florent Date: Tue, 7 May 2024 08:45:23 +0200 Subject: [PATCH] Update comment in AppEndpoint.ts as suggested by Jordi Co-authored-by: jordigh --- app/server/lib/AppEndpoint.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/server/lib/AppEndpoint.ts b/app/server/lib/AppEndpoint.ts index 832f63fb..b327a4e1 100644 --- a/app/server/lib/AppEndpoint.ts +++ b/app/server/lib/AppEndpoint.ts @@ -193,8 +193,8 @@ export function attachAppEndpoint(options: AttachOptions): void { }); } - // When no doc worker seed, we're in single server mode. - // Return null, to signify that the URL prefix serving the + // Without a public URL, we're in single server mode. + // Use a null workerPublicURL, to signify that the URL prefix serving the // current endpoint is the only one available. const publicUrl = docStatus?.docWorker?.publicUrl; const workerPublicUrl = publicUrl !== undefined ? customizeDocWorkerUrl(publicUrl, req) : null;