Permalink
Browse files

Use packages-dir to get the packages directory

  • Loading branch information...
1 parent 122c407 commit b4909ef3488df747feb17100da98e28a2c43f08d @kriszyp kriszyp committed Nov 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ringo-index.js
View
@@ -14,7 +14,7 @@ if(require.main == module){
port: settings.port
});
server.getContext("/public").serveStatic("public");
- server.getContext("/packages").serveStatic("C:/packages");
+ server.getContext("/packages").serveStatic(require('pintura/util/packages-dir'));
server.start();
if(settings.repl){
require("ringo/shell").start();

0 comments on commit b4909ef

Please sign in to comment.