Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ __meteor_bootstrap__.app
// Need to create a Fiber since we're using synchronous http calls
Fiber(function() {
try{
var code = fs.readFileSync(path.resolve('bundle/app.html'));
var code = fs.readFileSync(path.resolve('app.html'));
}catch(e){
var code = fs.readFileSync(path.resolve('.meteor/local/build/app.html'));
}
var angular = "";
try{
angular = fs.readFileSync(path.resolve('bundle/static/angular.html'));
angular = fs.readFileSync(path.resolve('static/angular.html'));
}catch(e){
if(fs.existsSync("public/angular.html")){
angular = fs.readFileSync(path.resolve('public/angular.html'));
Expand Down