fix: logo broken in metadata images, rename methods

This commit is contained in:
trafficlunar 2026-04-18 18:38:46 +01:00
parent 59d2b0b2c1
commit 94eef81b93
8 changed files with 32 additions and 32 deletions

View file

@ -12,7 +12,7 @@ export default function DeleteAccount() {
const [error, setError] = useState<string | undefined>(undefined);
const handleSubmit = async () => {
const response = await fetch(`${import.meta.env.VITE_API_URL}/api/auth/delete`, { method: "DELETE", credentials: "include" });
const response = await fetch(`${import.meta.env.VITE_API_URL}/api/auth/delete`, { method: "POST", credentials: "include" });
if (!response.ok) {
const { error } = await response.json();
setError(error);