Skip to content

Commit

Permalink
fix: fix lib check cors error
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenlx committed Mar 21, 2024
1 parent 97c38c4 commit d6f28be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/obsidian/src/install-guide/guide/utils.ts
Expand Up @@ -39,7 +39,7 @@ export const uploadModule = async () => {
};

export const checkModuleStatus = async (url: string): Promise<number> => {
const response = await fetch(url, { method: "HEAD" });
const response = await requestUrl({ url, method: "HEAD" });
return response.status;
};

Expand Down

0 comments on commit d6f28be

Please sign in to comment.