Fixing default profile image

This commit is contained in:
Corey Blais
2026-05-01 10:57:12 -04:00
parent 5a3ca9021a
commit 5db30022eb
4 changed files with 3 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

+2 -2
View File
@@ -982,7 +982,7 @@ const parseDataImage = (dataUrl: string) => {
}; };
const getDefaultBirdPhotoAttachment = () => { const getDefaultBirdPhotoAttachment = () => {
const defaultPhotoPath = path.join(process.cwd(), 'assets', 'yoda.png'); const defaultPhotoPath = path.join(process.cwd(), 'assets', 'yoda-default.png');
if (!existsSync(defaultPhotoPath)) { if (!existsSync(defaultPhotoPath)) {
console.warn(`Unable to load default bird photo from ${defaultPhotoPath}`); console.warn(`Unable to load default bird photo from ${defaultPhotoPath}`);
@@ -990,7 +990,7 @@ const getDefaultBirdPhotoAttachment = () => {
} }
return { return {
filename: 'yoda.png', filename: 'yoda-default.png',
path: defaultPhotoPath, path: defaultPhotoPath,
cid: 'flockpal-default-bird-photo', cid: 'flockpal-default-bird-photo',
contentDisposition: 'inline' as const, contentDisposition: 'inline' as const,
+1 -1
View File
@@ -1,6 +1,6 @@
import { useEffect, useMemo, useState } from 'react'; import { useEffect, useMemo, useState } from 'react';
import flockPalLandingArt from './assets/flockpal-landing-art.png'; import flockPalLandingArt from './assets/flockpal-landing-art.png';
import defaultBirdPhoto from './assets/yoda.png'; import defaultBirdPhoto from './assets/yoda-default.png';
import { findParrotWeightReference, parrotSpeciesOptions, type ParrotWeightReference } from './parrotWeightReference'; import { findParrotWeightReference, parrotSpeciesOptions, type ParrotWeightReference } from './parrotWeightReference';
type BillingPlan = 'rescue_free' | 'household_basic' | 'household_plus' | 'household_macaw'; type BillingPlan = 'rescue_free' | 'household_basic' | 'household_plus' | 'household_macaw';
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB