From 7d886bfd7b6b3dbcfd699c6087a2b746e9d31b75 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 23 Mar 2024 14:36:51 -0400 Subject: [PATCH] origin --- index.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/index.js b/index.js index a0b287a..afa8e2a 100644 --- a/index.js +++ b/index.js @@ -13,20 +13,7 @@ const videoFileMap={ console.log("Finding File"); var corsOptions = { - origin: ['http://localhost:3000', - 'http://localhost:3040', - 'http://10.0.0.248:3000', - 'https://10.0.0.248:3000', - 'http://localhost:9082/', - 'http://10.204.5.100:9082', - 'http://localhost:9083/', - 'https://dev-users.wrenchboard.com/', - 'https://dev-users.wrenchboard.com:3000/', - 'https://users.wrenchboard.com/', - 'https://www.wrenchboard.com/', - 'https://www.wrenchboard.ng/', - 'https://dev-www.wrenchboard.com/', - 'http://76.209.103.227:30040'], + origin: '*:*', optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204 }