making the health form point to the real server not a local dev
This commit is contained in:
		
							parent
							
								
									c5f5f8974a
								
							
						
					
					
						commit
						c22a1bb829
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -69,7 +69,9 @@
 | 
			
		|||
     // For use in dev
 | 
			
		||||
     // Can now start using this in production IF,
 | 
			
		||||
     // I get the server running on the server
 | 
			
		||||
     fetch("http://localhost:4242/health-form", {
 | 
			
		||||
     let base = "https://api.tfcconnection.org/health-form";
 | 
			
		||||
     /* let base = "http://localhost:4242/health-form"; */
 | 
			
		||||
     fetch(base, {
 | 
			
		||||
         method: "POST",
 | 
			
		||||
         body: data
 | 
			
		||||
     }).then((res) => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue