Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

small fixes to make it work with forever

  • Loading branch information...
commit 20ca1710138520285cb6f79e8643594d801d7241 1 parent 4af8b33
@DungFu authored
Showing with 2 additions and 7 deletions.
  1. +2 −7 server.js
View
9 server.js
@@ -539,18 +539,13 @@ everyone.now.getData = function(page) {
everyone.now.getFileList = function() {
self = this;
- walk("./static/images", function(err, results) {
+ walk(__dirname + "/static/images", function(err, results) {
if (err) throw err;
results.map(function(item) {
- item2 = item.split("./static");
+ item2 = item.split("static");
self.now.appendFile(item2[1]);
});
});
- /*
- list.map(function(item) {
- self.now.appendFilePortfolio(item);
- });
- */
}
var walk = function(dir, done) {
Please sign in to comment.
Something went wrong with that request. Please try again.