c9-core/plugins/c9.preview/statics.js

14 wiersze
275 B
JavaScript

main.consumes = ["connect.static"];
module.exports = main;
function main(options, imports, register) {
var statics = imports["connect.static"];
statics.addStatics([{
path: __dirname + "/static",
mount: "/preview"
}]);
register();
}