fix: flip base64 encoding transform
All checks were successful
/ deploy_site (push) Successful in 1m57s

This commit is contained in:
2024-10-28 13:01:35 +09:00
parent 4ac92e5fa2
commit 248880aa9a
2 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,6 @@ export const Editor: FC = () => {
minimap: { enabled: false },
theme: "vs-dark",
fontSize: 24,
scrollBeyondLastLine: false,
fontFamily: 'JetBrains Mono Variable',
fontLigatures: true,
wordWrap: "on",

View File

@ -2,10 +2,10 @@ import { Transform } from "./Transform";
export const Base64DecodeTransform: Transform = {
name: 'base64d',
fn: async (v) => btoa(v)
fn: async (v) => atob(v)
}
export const Base64EncodeTransform: Transform = {
name: 'base64e',
fn: async (v) => atob(v)
fn: async (v) => btoa(v)
}