 app                   = express()
 webPort               = argv.p ? webserver.port
 { error_500 }         = require './helpers'
-{ generateHumanstxt } = require "./humanstxt"
+{ generateHumanstxt } = require './humanstxt'
 
 do ->
   cookieParser = require 'cookie-parser'

    secret            : 'foo'
    resave            : yes
    saveUninitialized : true
  app.use bodyParser.urlencoded extended : yes
  app.use compression()
  # helmet:
  app.use helmet.xframe('sameorigin')

process.title = 'koding-webserver'
{ argv }      = require 'optimist'

Object.defineProperty global, \
  'KONFIG', { value : require('koding-config-manager').load "main.#{argv.c}" }

{ webserver, projectRoot, basicAuth } = KONFIG

