diff --git a/src/haunt_fm/templates/status.html b/src/haunt_fm/templates/status.html index 549e19e..11dc1c3 100644 --- a/src/haunt_fm/templates/status.html +++ b/src/haunt_fm/templates/status.html @@ -705,7 +705,7 @@ if (!name) { showToast('Profile name required', 'error'); return; } const body = { name }; if (display) body.display_name = display; - const res = await apiCall('POST', '/api/profiles', body); + const res = await apiCall('POST', '/api/profiles/', body); if (res.ok) { showToast('Profile "' + name + '" created', 'success'); setTimeout(() => location.reload(), 1000);