This file contains 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 http = require('http'), | |
fs = require('fs'), | |
mime = require('mime'), | |
colors = require('colors'); | |
// This server is compliant with the demands of HTML5 pushstate URLs. | |
// See "The Reload Problem" http://www.angularonrails.com/get-html5-pushstate-working-angular-rails/ | |
// The above article is for rails apps, but the same problem / solution apply here. |