refactor: merge auth into account prefix (/account/register, /account/email)

This commit is contained in:
M1
2026-03-16 13:37:20 +04:00
parent fd4af848bc
commit a22112dc77
3 changed files with 23 additions and 28 deletions
+1 -1
View File
@@ -119,7 +119,7 @@
document.getElementById('register-btn').addEventListener('click', async () => {
setLoading('register-btn', true, 'Creating...');
try {
const res = await fetch(`${API}/auth/register`, {
const res = await fetch(`${API}/account/register`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({}),