From 1370dd6719765c1be3dd4f1c79f6378ca62d8f5c Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 30 Jun 2021 11:26:11 +0100 Subject: [PATCH] fix(cli): loading html fix (#288) --- packages/cli/src/utils/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/utils/server.ts b/packages/cli/src/utils/server.ts index 1fa2797a9f..50098e0cb7 100644 --- a/packages/cli/src/utils/server.ts +++ b/packages/cli/src/utils/server.ts @@ -19,7 +19,7 @@ export function createLoadingHandler (message: string, retryAfter = 60): Request res.setHeader('Content-Type', 'text/html; charset=UTF-8') res.statusCode = 503 /* Service Unavailable */ res.setHeader('Retry-After', retryAfter) - res.end(`${message}`) + res.end(`${message}`) } }