fix: flip base64 encoding transform
All checks were successful
/ deploy_site (push) Successful in 1m57s
All checks were successful
/ deploy_site (push) Successful in 1m57s
This commit is contained in:
parent
4ac92e5fa2
commit
248880aa9a
@ -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",
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user