Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use packages-dir to get the packages directory

  • Loading branch information...
commit b4909ef3488df747feb17100da98e28a2c43f08d 1 parent 122c407
@kriszyp kriszyp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ringo-index.js
View
2  ringo-index.js
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.