Rocky_Mountain_Vending/.pnpm-store/v10/files/29/f95bd05ecdecedc4a07d30b5008b5b5dcf3988dd3019389bc8226d37a74325039e28b7193468c522166f0c172aad7853ccad345f719558d9863d1060d72d23
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

32 lines
No EOL
1.1 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "removeBasePath", {
enumerable: true,
get: function() {
return removeBasePath;
}
});
const _hasbasepath = require("./has-base-path");
const basePath = process.env.__NEXT_ROUTER_BASEPATH || '';
function removeBasePath(path) {
if (process.env.__NEXT_MANUAL_CLIENT_BASE_PATH) {
if (!(0, _hasbasepath.hasBasePath)(path)) {
return path;
}
}
// Can't trim the basePath if it has zero length!
if (basePath.length === 0) return path;
path = path.slice(basePath.length);
if (!path.startsWith('/')) path = `/${path}`;
return path;
}
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
Object.defineProperty(exports.default, '__esModule', { value: true });
Object.assign(exports.default, exports);
module.exports = exports.default;
}
//# sourceMappingURL=remove-base-path.js.map