41 lines
1.1 KiB
JavaScript
41 lines
1.1 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'
|
|
}
|
|
}
|
|
|
|
module.exports = EnvirementVariables
|