diff --git a/frontend/src/api/getUserQuestions.ts b/frontend/src/api/getUserQuestions.ts index 5a5ed7c..359905b 100644 --- a/frontend/src/api/getUserQuestions.ts +++ b/frontend/src/api/getUserQuestions.ts @@ -22,7 +22,7 @@ interface QAData { export const getUserQuestions = async ( respondentID: number ): Promise => { - let url = `https://helseundersokelsen.no/userquestions?respondentID=${respondentID}`; + let url = `https://helseundersokelsen.online/userquestions?respondentID=${respondentID}`; const response = fetch(url, { method: "GET", diff --git a/frontend/src/api/postBugData.ts b/frontend/src/api/postBugData.ts index 6a35baf..07fa330 100644 --- a/frontend/src/api/postBugData.ts +++ b/frontend/src/api/postBugData.ts @@ -1,5 +1,5 @@ export const postBugData = async (bugText: string) => { - let url = "https://helseundersokelsen.no/submitbug"; + let url = "https://helseundersokelsen.online/submitbug"; const response = fetch(url, { method: "POST", diff --git a/frontend/src/api/postEvaluationData.ts b/frontend/src/api/postEvaluationData.ts index 3fd254f..2ede934 100644 --- a/frontend/src/api/postEvaluationData.ts +++ b/frontend/src/api/postEvaluationData.ts @@ -1,5 +1,5 @@ export const postEvaluationData = async (evaluationText: string) => { - let url = "https://helseundersokelsen.no/submiteval"; + let url = "https://helseundersokelsen.online/submiteval"; const response = fetch(url, { method: "POST", diff --git a/frontend/src/api/postFormData.ts b/frontend/src/api/postFormData.ts index 32be601..64fc140 100644 --- a/frontend/src/api/postFormData.ts +++ b/frontend/src/api/postFormData.ts @@ -2,7 +2,7 @@ export const postFormData = async ( respondentID: number, allFormAnswers: string ) => { - let url = "https://helseundersokelsen.no/submitanswers"; + let url = "https://helseundersokelsen.online/submitanswers"; const response = fetch(url, { method: "POST", diff --git a/frontend/src/api/postUserformData.ts b/frontend/src/api/postUserformData.ts index e1e3c02..5288945 100644 --- a/frontend/src/api/postUserformData.ts +++ b/frontend/src/api/postUserformData.ts @@ -11,7 +11,7 @@ export const postUserformData = async ( county: string, submit_date: string ): Promise => { - let url = "https://helseundersokelsen.no/submituserform"; + let url = "https://helseundersokelsen.online/submituserform"; let personnel = healthcare_personnel == "Ja" ? true : false; let answered_before = has_answered_before == "Ja" ? true : false;