tab-seperated modals + eslint fix + much more bug fixed and improvements
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export default async function avatarExists(fileUrl: string): Promise<boolean> {
|
||||
const response = await fetch(fileUrl, { method: "HEAD" });
|
||||
return !(response.headers.get("content-type") === "text/plain");
|
||||
}
|
||||
Reference in New Issue
Block a user