diff --git a/lua/image/utils/base64.lua b/lua/image/utils/base64.lua index 7a2ac6f..a0f26b7 100644 --- a/lua/image/utils/base64.lua +++ b/lua/image/utils/base64.lua @@ -5,7 +5,7 @@ local ffi = require("ffi") local base64 = {} -local b64 = ffi.new("unsigned const char[65]", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") +local b64 = ffi.new("unsigned const char[65]", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-") function base64.encode(str) ---@diagnostic disable-next-line: undefined-global