Преглед изворни кода

The cloudron app is executed elsewhere

Johannes Zellner пре 11 година
родитељ
комит
e8987c9d23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app.js

+ 1 - 1
app.js

@@ -48,7 +48,7 @@ function welcomeIfNeeded(callback) {
         if (error) return callback(error);
         if (result.length > 0) return callback(null);
 
-        things.imp(require('./things.json'), callback);
+        things.imp(require(__dirname + '/things.json'), callback);
     });
 }