Skip to content

Instantly share code, notes, and snippets.

@makensi
Last active December 10, 2015 03:08
Show Gist options
  • Save makensi/4372500 to your computer and use it in GitHub Desktop.
Save makensi/4372500 to your computer and use it in GitHub Desktop.
// route load and initialization
fs.readdirSync("routes").forEach(function(file){
var route = require("./routes/"+file);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment