Skip to content

Commit

Permalink
Devember 11 - Router Builder Start
Browse files Browse the repository at this point in the history
More cleanup today, but more importantly, started working on the Router
Builder.  This is the magic part of it all.  The part that makes it
possible to create routers and merge together commands without actually
having to write any code.  So it's getting close to be even more fun.

Happy to say as well that the build stuff I built up yesterday on
Devember 10 worked on my Windows machine without issue.  So I can
successfully run this on both my Windows and Mac without issue.  So
that's a plus.

Note: spending an hour working on this might not seem like much, but
what I'm able to accomplish is still encouraging.
  • Loading branch information
jasonlotito committed Dec 11, 2016
1 parent 8954615 commit 8d3855a
Show file tree
Hide file tree
Showing 16 changed files with 2,260 additions and 1,794 deletions.
3 changes: 2 additions & 1 deletion TODO.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
- [ ] Allow commands to easily operate on small portions of data and pass it on - [ ] Allow commands to easily operate on small portions of data and pass it on
- [ ] Aync command execution - [ ] Aync command execution
- [ ] Need to do type checking on input - [ ] Need to do type checking on input
- [ ] Commands should be dynamically added, they should register themselves? - [ ] Commands should be dynamically added, they should register themselves?
- [ ] Direct 404's to index.html
2 changes: 1 addition & 1 deletion index.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ getConfig.forEach( ( routeSetting ) => {
next(); next();
} else { } else {
console.log('send file ', acceptHeaders); console.log('send file ', acceptHeaders);
var options = { const options = {
root: __dirname + '/public/', root: __dirname + '/public/',
dotfiles: 'deny', dotfiles: 'deny',
headers: { headers: {
Expand Down
Loading

0 comments on commit 8d3855a

Please sign in to comment.