EnterCode Signup working
- After fetching join code in EnterCode(), it sets networkId attribute on "signup-" (Signup.js)
- Signup.js then includes the attribute in the call body
- Modified all calls to /signout, /profile, /login, /signup to be prefixed by '/auth'
- Added '/auth' to vite config file
- Modified final "else if" statement in .attr in quill.js to return `this.getAttribute(arg1)` instead of `this.getAttribute("")`
This commit is contained in:
@@ -118,7 +118,7 @@ class Login extends Shadow {
|
||||
this.$("p").attr({ errorType: "" });
|
||||
}
|
||||
|
||||
const res = await fetch(`${util.HOST}/login`, {
|
||||
const res = await fetch(`${util.HOST}/auth/login`, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json", "X-Client": "mobile" },
|
||||
body: JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user