Last active
December 25, 2015 08:28
-
-
Save bennlich/6946477 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bogart = require('bogart'); | |
var router = bogart.router(); | |
router.get('/', function(req) { | |
return bogart.middleware.respondWithFile(req, 'index.html'); | |
}); | |
var app = bogart.app(); | |
app.use(bogart.batteries); | |
app.use(router); | |
app.start(53355, 'localhost'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment