🚚 Https over http i post route for å unngå konflikt med backend
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
c47685b5d9
commit
0344e3cc0e
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://helse-sprik.intern.dev.nav.no" + route, data, {
|
||||
axios.post("https://helse-sprik.intern.dev.nav.no" + route, data, {
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
|
|
Reference in a new issue