first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
const config = {
|
||||
defaultServer: {
|
||||
name: 'Servidor WPP',
|
||||
baseUrl: 'http://www.c2wpp.c2sistemas.com.br:22700',
|
||||
secretKey: 'c2sistemas',
|
||||
},
|
||||
endpoints: {
|
||||
showAllSessions: '/api/{secretKey}/show-all-sessions',
|
||||
generateToken: '/api/{session}/{secretKey}/generate-token',
|
||||
startSession: '/api/{session}/start-session',
|
||||
closeSession: '/api/{session}/close-session',
|
||||
logoutSession: '/api/{session}/logout-session',
|
||||
checkConnection: '/api/{session}/check-connection-session',
|
||||
qrCode: '/api/{session}/qrcode-session',
|
||||
},
|
||||
polling: {
|
||||
serverStatusInterval: 8000,
|
||||
qrRefreshInterval: 30000,
|
||||
connectionCheckInterval: 2000,
|
||||
},
|
||||
};
|
||||
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = config;
|
||||
}
|
||||
Reference in New Issue
Block a user