Commit 50353b07 authored by Malsha Jayakody's avatar Malsha Jayakody

change api

parent 66491651
......@@ -45,7 +45,7 @@ const QuestionInEnglishPage = ({navigation, route}) => {
const loadData = () => {
axios
.get('http://16.16.97.48/api/quiz/all_english')
.get('http://emidwife-api.onrender.com/api/quiz/all_english')
.then(response => {
setQuestions(response.data.data);
setIsLoading(false);
......
......@@ -45,7 +45,7 @@ const QuestionInSinhalaPage = ({navigation, route}) => {
const loadData = () => {
axios
.get('http://16.16.97.48/api/quiz/all_sinhala')
.get('http://emidwife-api.onrender.com/api/quiz/all_sinhala')
.then(response => {
setQuestions(response.data.data);
setIsLoading(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment