diff --git a/frontend/pages/api/http.ts b/frontend/pages/api/http.ts index 2aeef53..2b202af 100644 --- a/frontend/pages/api/http.ts +++ b/frontend/pages/api/http.ts @@ -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' }