This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { | |
VerifySingleton, | |
VerifyFactory, | |
} = require('./verify'); | |
const factory = new VerifyFactory(); | |
const run = async () => { | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable */ | |
const VerifySingleton = { | |
sleep (ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
}, | |
async testFunc() { | |
return Promise.reject({ | |
statusCode: 500, | |
errorCode, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const statusMonitor = require('express-status-monitor')({ path: '' }); | |
const healthcheck = require('express-healthcheck'); | |
const versionCheck = require('version-healthcheck'); | |
const swaggerUi = require('swagger-ui-express'); | |
const ErrorController = require('./controllers/ErrorController'); | |
const SfdcController = require('./controllers/SalesforceController'); | |
const swaggerDocument = require('../swagger.json'); | |
const authService = require('./services/authService'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libcap2-bin | |
sudo setcap 'cap_net_bind_service=+ep' $(readlink -f $(which node)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* jshint maxlen:false */ | |
var config = { // eslint-disable-line no-unused-vars | |
// configLocation: './config.json', // see ./modules/HttpConfigFetch.js | |
hosts: { | |
domain: 'prosody', | |
bridge: 'videobridge.prosody', | |
anonymousdomain: 'guest.prosody', | |
authdomain: 'prosody', // defaults to <domain> | |
muc: 'conference.prosody', // FIXME: use XEP-0030 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { | |
hosts: { | |
domain: 'prosody', | |
muc: 'conference.prosody', // FIXME: use XEP-0030 | |
focus: 'focus.prosody', | |
}, | |
disableSimulcast: false, | |
resolution: 720, | |
externalConnectUrl: '//localhost/http-pre-bind', | |
// analyticsScriptUrl: "https://meet.jit.si/libs/jitsi-analytics-web-client.min.js", |
NewerOlder