refactor(auth): from auth to api #2
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -153,7 +153,7 @@ export default { | |||
|       this.loginSuccess = false; | ||||
| 
 | ||||
|       try { | ||||
|         const response = await axios.post('http://localhost:5000/auth/login', { | ||||
|         const response = await axios.post('http://localhost:5000/api/login', { | ||||
|           username: this.username, | ||||
|           password: this.password, | ||||
|         }); | ||||
|  |  | |||
|  | @ -302,7 +302,7 @@ export default { | |||
|       this.successMessage = null; | ||||
| 
 | ||||
|       try { | ||||
|         const response = await axios.post('http://localhost:5000/auth/signup', { | ||||
|         const response = await axios.post('http://localhost:5000/api/signup', { | ||||
|           firstName: this.firstName, | ||||
|           lastName: this.lastName, | ||||
|           username: this.username, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue