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