Skip to content

Commit 017e8a0

Browse files
committed
delete og-images folder
1 parent bf835f5 commit 017e8a0

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed
-2.11 MB
Binary file not shown.
-1.41 MB
Binary file not shown.
Binary file not shown.
-2.06 MB
Binary file not shown.

src/constants/file-paths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export const FILE_PATHS = {
44
FONTS_FOLDER: './public/fonts/',
5-
OG_FOLDER: './src/assets/images/default/open-graph/',
5+
GALLERY_FOLDER: './src/assets/images/all-images/',
66
IMAGE_404: './src/assets/images/pages/image404.jpg',
77
/** .jpg */
88
AVATAR: './src/assets/images/avatar.jpg',

src/libs/api/open-graph/template-props.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import avatarImage from '@/assets/images/avatar.jpg';
1313
import image404 from '@/assets/images/pages/image404.jpg';
1414

1515
const { SITE_URL } = CONFIG_CLIENT;
16-
const { AVATAR, OG_FOLDER, IMAGE_404 } = FILE_PATHS;
16+
const { AVATAR, GALLERY_FOLDER, IMAGE_404 } = FILE_PATHS;
1717

1818
// original base64 implementation
1919
export const getTemplatePropsBase64 = async (
@@ -38,7 +38,7 @@ export const getTemplatePropsBase64 = async (
3838

3939
// fallback to random default image
4040
default:
41-
heroImagePath = await getRandomImagePath(OG_FOLDER);
41+
heroImagePath = await getRandomImagePath(GALLERY_FOLDER);
4242
break;
4343
}
4444

0 commit comments

Comments
 (0)