Update index.html

Ryan Danenberg committed commit8ec452b177b436c096bb8536447a758b1fe83471 Browse files
1 file changed+1−1
index.html+1−1View file
@@ -1814,7 +1814,7 @@
let token = null;
let user = null;
try {
- const res = await fetch('/api/auth/register', {
+ const res = await fetch('/api/p/' + PROJECT_ID + '/auth/register', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ email, password, name, role })