diff --git a/server.js b/server.js
index <HASH>..<HASH> 100755
--- a/server.js
+++ b/server.js
@@ -99,7 +99,7 @@ if (config.static) {
       }
       break;
   }
-  staticPath = path.resolve(__dirname, staticPath);
+  staticPath = path.resolve(process.cwd(), staticPath);
   console.warn("serving static assets on:", staticUrl, "from:", staticPath);
   app.use(staticUrl, express.static(staticPath));
 }
resolve paths relative to the cwd, not __dirname