mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
14 lines
275 B
JavaScript
14 lines
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();
|
|
} |