From 1cc554339d4d62713cf37f3cb6833220f4e9b05a Mon Sep 17 00:00:00 2001 From: dwelle Date: Thu, 14 Jan 2021 12:23:07 +0100 Subject: [PATCH] fix lint --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 7d6742a..9b43145 100755 --- a/src/index.ts +++ b/src/index.ts @@ -24,7 +24,8 @@ const io = socketIO(server, { handlePreflightRequest: function (req, res) { var headers = { "Access-Control-Allow-Headers": "Content-Type, Authorization", - "Access-Control-Allow-Origin": (req.header && req.header.origin) || "https://excalidraw.com", + "Access-Control-Allow-Origin": + (req.header && req.header.origin) || "https://excalidraw.com", "Access-Control-Allow-Credentials": true, }; res.writeHead(200, headers);