2023-05-02 14:29:22 +00:00
|
|
|
import 'ejs';
|
2022-04-10 21:57:14 +00:00
|
|
|
import logger from 'CommonServer/Utils/Logger';
|
2023-05-02 14:29:22 +00:00
|
|
|
import App from 'CommonServer/Utils/StartServer';
|
2019-11-21 13:05:28 +00:00
|
|
|
|
2023-05-02 14:29:22 +00:00
|
|
|
const APP_NAME: string = 'probe';
|
2022-01-23 19:36:47 +00:00
|
|
|
|
2023-05-02 14:29:22 +00:00
|
|
|
const init: Function = async (): Promise<void> => {
|
|
|
|
try {
|
|
|
|
// init the app
|
|
|
|
await App(APP_NAME);
|
|
|
|
} catch (err) {
|
|
|
|
logger.error('App Init Failed:');
|
|
|
|
logger.error(err);
|
2022-01-18 17:59:51 +00:00
|
|
|
}
|
2023-05-02 14:29:22 +00:00
|
|
|
};
|
2019-11-21 13:05:28 +00:00
|
|
|
|
2023-05-02 14:29:22 +00:00
|
|
|
init();
|