mirror of
https://github.com/decaf-dev/obsidian-vault-explorer.git
synced 2026-07-22 10:10:31 +00:00
Dont load cookies (#236)
* fix: prevent cookies from being sent * chore: bump version
This commit is contained in:
parent
0817fca688
commit
b37549b941
4 changed files with 7 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "vault-explorer",
|
||||
"name": "Vault Explorer",
|
||||
"version": "1.30.4",
|
||||
"version": "1.30.5",
|
||||
"minAppVersion": "1.4.13",
|
||||
"description": "Explore your vault in visual format",
|
||||
"author": "DecafDev",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-vault-explorer",
|
||||
"version": "1.30.4",
|
||||
"version": "1.30.5",
|
||||
"description": "Explore your vault in visual format",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -61,6 +61,9 @@ export const fetchSocialImage = async (url: string) => {
|
|||
const response = await requestUrl({
|
||||
url,
|
||||
method: "GET",
|
||||
headers: {
|
||||
Cookie: "", // Clear any cookies
|
||||
},
|
||||
});
|
||||
|
||||
const html = response.text;
|
||||
|
|
|
|||
|
|
@ -108,5 +108,6 @@
|
|||
"1.30.1": "1.4.13",
|
||||
"1.30.2": "1.4.13",
|
||||
"1.30.3": "1.4.13",
|
||||
"1.30.4": "1.4.13"
|
||||
"1.30.4": "1.4.13",
|
||||
"1.30.5": "1.4.13"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue