Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jbilcke-hf committed Jul 27, 2024
1 parent c5df71e commit c1021fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/dialogs/iframe-warning/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function IframeWarning() {
return (
<div
className={cn(
`fixed bottom-0 left-0 right-0 top-0 z-[60] m-0 flex h-screen w-screen items-center justify-center overflow-hidden bg-stone-950 p-0 text-center`,
`fixed bottom-0 left-0 right-0 top-0 z-[999] m-0 flex h-screen w-screen items-center justify-center overflow-hidden bg-stone-950 p-0 text-center`,
showWarning
? 'pointer-events-auto opacity-100'
: 'pointer-events-none opacity-0'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/core/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export const HARD_LIMIT_NB_MAX_ASSETS_TO_GENERATE_IN_PARALLEL = 32

export const APP_NAME = 'Clapper.app'
export const APP_REVISION = '20240726+1522'
export const APP_REVISION = '20240727+1333'

export const APP_DOMAIN = 'Clapper.app'
export const APP_LINK = 'https://clapper.app'
8 changes: 4 additions & 4 deletions src/lib/utils/decodeOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ export async function decodeOutput(input: any): Promise<string> {
? urlOrBase64
: await fetchContentToBase64(urlOrBase64)

if (
base64Url.startsWith('data:image/')
if (base64Url.startsWith('data:image/')) {
if (
base64Url.startsWith('data:image/jpeg') ||
base64Url.startsWith('data:image/jpg')
) {

if (base64Url.startsWith('data:image/jpeg') || base64Url.startsWith('data:image/jpg')) {
return base64Url
}
// this step is important since some providers store data as PNG,
Expand Down

0 comments on commit c1021fe

Please sign in to comment.