From a5497cf536ef801844d0028e15b7b487f7c9356a Mon Sep 17 00:00:00 2001 From: Markus Johansen Date: Mon, 17 Jul 2023 15:40:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=85=20S=C3=B8rger=20for=20rett=20desti?= =?UTF-8?q?nasjon=20for=20HTTP=20requests=20fra=20frontend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sindre Kjelsrud Co-authored-by: Amalie Mansåker --- frontend/pages/api/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }