fix
This commit is contained in:
parent
9846c786a0
commit
64d99a10e5
1 changed files with 1 additions and 1 deletions
2
sso.js
2
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue