From 3b123dd671ae70be33266c053d34c6278570831b Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Fri, 10 Dec 2021 16:18:03 -0500 Subject: [PATCH] chore(striker-ui-api): install cors --- striker-ui-api/package-lock.json | 12 ++++++++++-- striker-ui-api/package.json | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/striker-ui-api/package-lock.json b/striker-ui-api/package-lock.json index acacb042..b3a0e0f5 100644 --- a/striker-ui-api/package-lock.json +++ b/striker-ui-api/package-lock.json @@ -295,6 +295,15 @@ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", "dev": true }, + "cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "requires": { + "object-assign": "^4", + "vary": "^1" + } + }, "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", @@ -989,8 +998,7 @@ "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" }, "on-finished": { "version": "2.3.0", diff --git a/striker-ui-api/package.json b/striker-ui-api/package.json index 3768911b..7c3c339f 100644 --- a/striker-ui-api/package.json +++ b/striker-ui-api/package.json @@ -10,6 +10,7 @@ "start": "npm run build && ./striker-ui-api" }, "dependencies": { + "cors": "^2.8.5", "express": "^4.17.1" }, "devDependencies": {