open-next-cdk
Version:
Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK
10 lines (9 loc) • 375 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.extendedEncodeURIComponent = void 0;
function extendedEncodeURIComponent(str) {
return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
});
}
exports.extendedEncodeURIComponent = extendedEncodeURIComponent;