aboutsummaryrefslogtreecommitdiffstats
path: root/server/main.js
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2019-11-07 08:35:23 +0100
committermarzavec <admin@marzavec.com>2019-11-07 08:35:23 +0100
commitf28e65ab8035682372edbe1c11d9ca2581e0a2e6 (patch)
treea75c9b682ca245baa3f01df5ea704ba95205cef3 /server/main.js
parentMerge pull request #79 from 0x17de/feature-emote-trip (diff)
downloadhackchat-f28e65ab8035682372edbe1c11d9ca2581e0a2e6.tar.gz
hackchat-f28e65ab8035682372edbe1c11d9ca2581e0a2e6.zip
Syntax update and formatting tweaks
Diffstat (limited to '')
-rw-r--r--server/main.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/server/main.js b/server/main.js
index 70042e8..b01d09d 100644
--- a/server/main.js
+++ b/server/main.js
@@ -1,15 +1,12 @@
/**
* HackChat main server entry point
- *
- * Version: v2.0.0
- * Developer: Marzavec ( https://github.com/marzavec )
- * License: WTFPL ( http://www.wtfpl.net/txt/copying/ )
- *
+ * @author Marzavec ( https://github.com/marzavec )
+ * @version v2.0.0
+ * @license WTFPL ( http://www.wtfpl.net/txt/copying/ )
*/
-'use strict';
-
// import and initialize the core application
-const CoreApp = require('./src/serverLib/CoreApp');
+import { CoreApp } from './src/serverLib/CoreApp';
+
const coreApp = new CoreApp();
coreApp.init();