We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d2e35b commit e55389dCopy full SHA for e55389d
src/server/lib/util.ts
@@ -1,5 +1,3 @@
1
-import { base64 } from "node_modules/zod/dist/types/v4/classic/external";
2
-
3
export function base64ToDataURI(base64: string, fmt = "png") {
4
return `data:image/${fmt};base64,${base64}`;
5
}
0 commit comments