"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const raw_url_1 = require("./raw-url");
const path_1 = require("path");
function shareURL(id, relativePath = "") {
    // do NOT need base path since this is a link from the next server into itself.
    return (0, path_1.join)("/share", "public_paths", id, (0, raw_url_1.encodePath)(relativePath));
}
exports.default = shareURL;
//# sourceMappingURL=share-url.js.map