fix: Server sometimes throwing 308 and ignoring requests

This commit is contained in:
April Hall 2025-02-22 02:44:39 -05:00
parent 88558579d7
commit 9711b0c926
Signed by: arithefirst
GPG Key ID: 4508A15C4DB91C5B

View File

@ -2,7 +2,7 @@ export async function generateStream(file: File): Promise<Response> {
const formData = new FormData();
formData.append('file', file);
const res = await fetch(`/api/set-profile-photo/`, {
const res = await fetch(`/api/set-profile-photo`, {
method: 'POST',
body: formData,
});