Skip to content

Commit

Permalink
FIX: opengraph url and robot.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
anisharaz committed Aug 18, 2024
1 parent c6cacef commit fe1e06e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/blinks/[blinkid]/CreateBlinkForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function CreateBlinkForm({
xmlDoc.getElementsByTagName("Location")[0]?.childNodes[0]?.nodeValue;
let IMGURL = new URL(imageLocation as string);
IMGURL.hostname = "dalrhzyq3imlu.cloudfront.net";
newInstance.data.icon = IMGURL.toString();
newInstance.data.icon = decodeURIComponent(IMGURL.toString());
}
} else {
newInstance.data.icon = BlinkData.icon;
Expand Down
3 changes: 3 additions & 0 deletions app/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-Agent: *
Allow: /
Disallow: /dashboard/

0 comments on commit fe1e06e

Please sign in to comment.