From 72c343e00cece16dbca77017414416e85b8ad77d Mon Sep 17 00:00:00 2001 From: jin Date: Mon, 20 Nov 2023 15:52:18 +0300 Subject: [PATCH] $mol_base64_safe: minor --- base64/encode/safe/safe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base64/encode/safe/safe.ts b/base64/encode/safe/safe.ts index 2d5ea13bb06..2b53a55f0f6 100644 --- a/base64/encode/safe/safe.ts +++ b/base64/encode/safe/safe.ts @@ -1,5 +1,5 @@ namespace $ { export function $mol_base64_encode_safe( buffer: Uint8Array ) { - return $mol_base64_encode( buffer ).replace( /\+/g, '-' ).replace( /\//g, '_' ).replace( /=/, '' ) + return $mol_base64_encode( buffer ).replace( /\+/g, '-' ).replace( /\//g, '_' ).replace( /=/g, '' ) } }