webssh2/index.js
2024-07-18 14:58:35 +00:00

26 lines
No EOL
410 B
JavaScript

'use strict'
// server
// index.js
/**
* 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
}