diff --git a/package.json b/package.json index f0e6ca4..df69629 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "dev": "concurrently --kill-others-on-fail \"yarn server\" \"yarn client\"" }, "dependencies": { + "cors": "^2.8.5", "express": "^4.18.2", "socket.io": "^4.6.2", "ssh2": "^1.13.0" diff --git a/yarn.lock b/yarn.lock index 5addfda..16a1084 100644 --- a/yarn.lock +++ b/yarn.lock @@ -240,7 +240,7 @@ cookie@~0.4.1: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== -cors@~2.8.5: +cors@^2.8.5, cors@~2.8.5: version "2.8.5" resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==