Explorar o código

The cloudron app is executed elsewhere

Johannes Zellner %!s(int64=11) %!d(string=hai) anos
pai
achega
e8987c9d23
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     });
 }