webssh2/index.js

25 lines
No EOL
389 B
JavaScript

'use strict'
/**
* index.js
*
* WebSSH2 - Web to SSH2 gateway
* Bill Church - https://github.com/billchurch/WebSSH2 - May 2017
*/
const { startServer, config } = require('./app/app')
/**
* Main function to start the application
*/
function main() {
startServer()
}
// Run the application
main()
// For testing purposes, export the functions
module.exports = {
startServer
}