Update comment in AppEndpoint.ts as suggested by Jordi

Co-authored-by: jordigh <jordigh@octave.org>
pull/915/head
Florent 2 weeks ago committed by GitHub
parent 539daf9286
commit f4defc0d78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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;

Loading…
Cancel
Save