mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-04-09 12:29:38 +02:00
change image name
This commit is contained in:
parent
6d455a2fdb
commit
6f8c87aaa3
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user