mirror of
https://github.com/KevinMidboe/planetposen.git
synced 2025-10-29 09:40:31 +00:00
16 lines
319 B
JavaScript
16 lines
319 B
JavaScript
"use strict";
|
|
|
|
const path = require("path");
|
|
|
|
const _root = path.resolve(__dirname, "..");
|
|
|
|
exports.root = function(args) {
|
|
args = Array.prototype.slice.call(arguments, 0);
|
|
|
|
return path.join.apply(path, [_root].concat(args));
|
|
};
|
|
|
|
exports.assetsPath = function(_path) {
|
|
return path.posix.join("static", _path);
|
|
};
|