0.0.4
[henge/kiak.git] / strapp.js
diff --git a/strapp.js b/strapp.js
deleted file mode 100644 (file)
index dc95479..0000000
--- a/strapp.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
-* @file      Node entry and main driver
-* @author    Jordan Lavatai, Ken Grimes
-* @version   0.0.1
-* @license   AGPL-3.0
-* @copyright loljk 2017
-* @summ ary   HTTP(S) Router that uses the first directory in the requested URL
-*            as the route name
-*/
-const opts = require('./opts.js')
-const router = require('./router.js')
-
-Object.keys(opts['bindings']).forEach((key) => {
-  router.createBind(key, opts['bindings'][key])
-})
-
-router.startHttpServer({
-  port: opts['port'],
-  skelFile: './skel.html',
-  clientJS: opts['client-js'],
-  hostJS: opts['host-js'],
-  httpdRoot: opts['file-dir'],
-  tls: {
-    certFile: opts['ca-cert'],
-    keyFile: opts['ca-key']
-  }
-})