refactor: merge auth into account prefix (/account/register, /account/email)
This commit is contained in:
@@ -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({}),
|
||||
|
||||
Reference in New Issue
Block a user