Skip to content

Commit 2c98e70

Browse files
committed
fix: Improve code formatting for clarity in Serve.ts
1 parent 8581864 commit 2c98e70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

StatusPage/Serve.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ const init: PromiseVoidFunction = async (): Promise<void> => {
6363
logger.debug(
6464
"Status page ID not found in URL, checking request headers for domain",
6565
);
66-
const host: string = req.hostname?.toString() || req.headers["host"]?.toString() || "";
66+
const host: string =
67+
req.hostname?.toString() || req.headers["host"]?.toString() || "";
6768
if (host) {
6869
statusPageIdOrDomain = host;
6970
logger.debug(

0 commit comments

Comments
 (0)