Skip to content

Commit

Permalink
Merge pull request #273 from decaf-dev/dev
Browse files Browse the repository at this point in the history
1.35.1
  • Loading branch information
decaf-dev committed Jul 27, 2024
2 parents 15c3132 + aa89170 commit a3bc5d2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "vault-explorer",
"name": "Vault Explorer",
"version": "1.35.0",
"version": "1.35.1",
"minAppVersion": "1.4.13",
"description": "Explore your vault in visual format",
"author": "DecafDev",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-vault-explorer",
"version": "1.35.0",
"version": "1.35.1",
"description": "Explore your vault in visual format",
"main": "main.js",
"scripts": {
Expand Down
9 changes: 9 additions & 0 deletions src/svelte/app/services/social-media-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ export const fetchSocialImage = async (url: string) => {
imageUrl = `https://${imageUrl}`;
}

//Handle edge case where the url ends with @100w_100h_1c
//See issue #265
if (imageUrl.endsWith("@100w_100h_1c.png")) {
imageUrl = imageUrl.replace(
/@100w_100h_1c.png$/,
"@425w_150h_1c.png"
);
}

Logger.debug(
{
fileName: "social-media-image.ts",
Expand Down
2 changes: 1 addition & 1 deletion test-vault/.obsidian/plugins/vault-explorer/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@
"feed"
],
"configDir": ".vaultexplorer",
"pluginVersion": "1.34.3",
"pluginVersion": "1.35.0",
"logLevel": "trace"
}
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,6 @@
"1.34.1": "1.4.13",
"1.34.2": "1.4.13",
"1.34.3": "1.4.13",
"1.35.0": "1.4.13"
"1.35.0": "1.4.13",
"1.35.1": "1.4.13"
}

0 comments on commit a3bc5d2

Please sign in to comment.