change image name

This commit is contained in:
vincanger 2024-11-29 17:02:30 +01:00
parent 6d455a2fdb
commit 6f8c87aaa3
2 changed files with 1 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -4,7 +4,7 @@ import { fileURLToPath } from 'url';
export const BANNER_PATH = '/banner-images';
export const DEFAULT_BANNER_IMAGE = 'default-banner.webp';
export const DEFAULT_BANNER_IMAGE = 'opensaas.webp';
export const getBannerImageFilename = ({ path }: { path: string }) =>
path.replace(/.*\//, '').replace(/\.\w+$/, '.webp');