Dont load cookies (#236)

* fix: prevent cookies from being sent

* chore: bump version
This commit is contained in:
DecafDev 2024-07-24 23:06:51 -06:00 committed by GitHub
parent 0817fca688
commit b37549b941
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 3 deletions

View file

@ -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",

View file

@ -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": {

View file

@ -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;

View file

@ -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"
}