From: charleswrayjr Date: Fri, 5 Sep 2025 23:29:33 +0000 (-0500) Subject: Fixing cors urls. X-Git-Url: https://git.phasecustomsoft.com/stylesheets/static/gitweb.css?a=commitdiff_plain;h=d23828132651fe8c7380569c53d2ac71f2bbcd7c;p=phs-api.git Fixing cors urls. --- diff --git a/app.js b/app.js index b7f29d0..c426c20 100755 --- a/app.js +++ b/app.js @@ -97,26 +97,26 @@ app.use(cors({ // Customer (local dev) 'http://localhost:30006', // local dev 'http://rt2-customer:3000', // import / export jobs - 'https://customer-f.roto-versal.com', - 'https://customer-t.roto-versal.com', - 'https://customer-demo.roto-versal.com', - 'https://customer.roto-versal.com', + 'https://customer-f.phasecustomsoft.com', + 'https://customer-t.phasecustomsoft.com', + 'https://customer-demo.phasecustomsoft.com', + 'https://customer.phasecustomsoft.com', // Admin (local dev) 'http://localhost:8100', 'http://localhost:30007', - 'https://admin-t.roto-versal.com', - 'https://admin-f.roto-versal.com', - 'https://admin-demo.roto-versal.com', - 'https://admin.roto-versal.com', + 'https://admin-t.phasecustomsoft.com', + 'https://admin-f.phasecustomsoft.com', + 'https://admin-demo.phasecustomsoft.com', + 'https://admin.phasecustomsoft.com', // App (local dev) 'http://localhost:8101', - 'https://app-t.roto-versal.com', - 'https://app-f.roto-versal.com', - 'https://app-demo.roto-versal.com', - 'https://app.roto-versal.com', + 'https://app-t.phasecustomsoft.com', + 'https://app-f.phasecustomsoft.com', + 'https://app-demo.phasecustomsoft.com', + 'https://app.phasecustomsoft.com', // Public website - 'https://www-t.roto-versal.com', - 'https://www.roto-versal.com' + 'https://www-t.phasecustomsoft.com', + 'https://www.phasecustomsoft.com' ], credentials: true, methods: ['GET', 'POST', 'PUT', 'DELETE'],