Skip to content

Commit

Permalink
🩹 fix: fix OG image URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayanTheNerd committed Feb 5, 2024
1 parent dabdff3 commit 3ed3729
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/TheHead.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
const baseURL = import.meta.env.BASE_URL.slice(1);
const OGImgURL = `${baseURL}/images/og-img.webp`;
const OGImgURL = 'https://github.com/raw/ShayanTheNerd/image-editor/main/og-img.webp';
---

<!-- prettier-ignore -->
Expand Down
2 changes: 1 addition & 1 deletion src/components/TheImagePreview.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const placeholderImgURL = `${DEV ? baseURL.slice(1) : baseURL}/images/img-placeh
class="order-1 flex h-52 min-h-full items-center justify-center overflow-hidden rounded border-2 border-gray-400 bg-none shadow-inner shadow-gray-400 transition-all duration-300 md:order-2 md:col-span-8">
<img
src={placeholderImgURL}
alt="Placeholder image"
alt="Placeholder"
height="408"
title=""
id="selected_img"
Expand Down

0 comments on commit 3ed3729

Please sign in to comment.