]> PHS Git Server - phs-api.git/commitdiff
Fixing cors urls.
authorcharleswrayjr <charleswrayjr@gmail.com>
Fri, 5 Sep 2025 23:29:33 +0000 (18:29 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Fri, 5 Sep 2025 23:29:33 +0000 (18:29 -0500)
app.js

diff --git a/app.js b/app.js
index b7f29d0cf466f96abaab3d61efb5c0ca75c5e77f..c426c2008f5d39580a67b9967b95533e12840b45 100755 (executable)
--- 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'],