Initial commit: 11ty website with Fire/Frost branding
This commit is contained in:
13
node_modules/@11ty/eleventy-utils/src/Url.js
generated
vendored
Normal file
13
node_modules/@11ty/eleventy-utils/src/Url.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
function base64UrlSafe(hashString = "") {
|
||||
return hashString.replace(/[=\+\/]/g, function(match) {
|
||||
if(match === "=") {
|
||||
return "";
|
||||
}
|
||||
if(match === "+") {
|
||||
return "-";
|
||||
}
|
||||
return "_";
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = { base64UrlSafe };
|
||||
Reference in New Issue
Block a user