From 64d99a10e582180f71f2e103f54209aead6669ed Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 12 Sep 2025 11:01:19 +0700 Subject: [PATCH] fix --- sso.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sso.js b/sso.js index 90d41ed..3bda8b1 100644 --- a/sso.js +++ b/sso.js @@ -26,7 +26,7 @@ const urlKeycloakToken = `${process.env.KC_URL}/realms/${process.env.KC_REALMS}/ const app = express(); // ตั้งค่าการป้องกัน Origin -const allowedOrigins = ['https://hrms.bangkok.go.th', 'https://hrms.chin.in.th']; // อนุญาตเฉพาะ domain ที่กำหนด //http://localhost:3002 +const allowedOrigins = ['https://hrms.bangkok.go.th', 'https://hrms.chin.in.th', 'https://hrmsbkk.case-collection.com', 'http://localhost:3002']; // อนุญาตเฉพาะ domain ที่กำหนด //http://localhost:3002 app.use(cors({ // origin: function (origin, callback) {