Files
asan-service/server/_env.js
T
morteza f19ede0d92
deploy to danak / build_and_deploy (push) Has been cancelled
update koja password
2026-06-14 15:34:53 +03:30

47 lines
1.2 KiB
JavaScript

const EnvirementVariables = {
// node envirements
isDev: process.env.NODE_ENV === 'development',
// isDev: true,
isProduction: process.env.NODE_ENV === 'production',
// server ports
DevServerPort: 4000,
WebSocketPort: 5000,
NuxtPort: 7420,
NuxtHost: '0.0.0.0',
WebSocketURL() {
return EnvirementVariables.isProduction ? '' : `ws://localhost:${EnvirementVariables.WebSocketPort}`
},
/// ////////////// arpa configurations
// veriry
verityBaseUrl: 'http://80.210.26.100:8080/serv',
verityTokenUrl: 'http://80.210.26.100:8080/serv/token/GetServiceToken',
VerityUserGroupId: 28,
VerityBusinessCategoryId: 28,
VerityStockAreaId: 328,
verityAccount: {
username: 'arpa',
password: 'Arpa159@951'
},
// panatech
panatechBaseUrl: 'http://80.210.26.100:8083/serv',
panatechTokenUrl: 'http://80.210.26.100:8083/serv/token/GetServiceToken',
PanatechUserGroupId: 25,
PanatechBusinessCategoryId: 19,
PanatechStockAreaId: 13,
panatechAccount: {
username: 'arpa',
password: 'Aa@123456'
},
kojaBaseUrl: 'https://api.koja.co/api',
kojaAccount: {
username: 'info@asan-service.com',
password: 'Saba@12131415'
}
}
module.exports = EnvirementVariables