webssh2/index.js
2024-08-13 12:38:00 +00:00

26 lines
411 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
}