🥅 Sørger for rett destinasjon for HTTP requests fra frontend
Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no> Co-authored-by: Amalie Mansåker <amalie.erdal.mansaker@nav.no>
This commit is contained in:
		
							parent
							
								
									1fbc3d5832
								
							
						
					
					
						commit
						a5497cf536
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| import axios from "axios"; | ||||
| 
 | ||||
| export default function post(route: String, data?: Object) { | ||||
|     axios.post("http://0.0.0.0:8080/" + route, data, { | ||||
|     axios.post("http://helse-sprik.intern.dev.nav.no" + route, data, { | ||||
|         headers: { | ||||
|             'Content-Type': 'application/json' | ||||
|         } | ||||
|  |  | |||
		Reference in a new issue
	
	 Markus Johansen
						Markus Johansen