Selaa lähdekoodia

fix lint

master
dwelle 4 vuotta sitten
vanhempi
commit
1cc554339d
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      src/index.ts

+ 2
- 1
src/index.ts Näytä tiedosto

@@ -24,7 +24,8 @@ const io = socketIO(server, {
24 24
   handlePreflightRequest: function (req, res) {
25 25
     var headers = {
26 26
       "Access-Control-Allow-Headers": "Content-Type, Authorization",
27
-      "Access-Control-Allow-Origin": (req.header && req.header.origin) || "https://excalidraw.com",
27
+      "Access-Control-Allow-Origin":
28
+        (req.header && req.header.origin) || "https://excalidraw.com",
28 29
       "Access-Control-Allow-Credentials": true,
29 30
     };
30 31
     res.writeHead(200, headers);

Loading…
Peruuta
Tallenna