Browse files

don't start ringo server when running within common-node

  • Loading branch information...
1 parent c1d9b4c commit 348719677650e238ff046b66feccd3b90a29896d @olegp committed Jan 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mcms.js
View
2 lib/mcms.js
@@ -145,6 +145,6 @@ exports.app = function(request) {
};
};
-if(require.main === module) {
+if(require.main === module && !COMMON_NODE) {
require("ringo/httpserver").main(module.id);
}

0 comments on commit 3487196

Please sign in to comment.