Skip to content

Commit

Permalink
Changed hardcoded backend url
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVOiceover committed Aug 13, 2024
1 parent 3e7b029 commit 0f27263
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Quiz/Quiz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ export function QuestionSlide() {
};

function postDataURI(data: userIdQuizAnswer) {
fetch('http://localhost:3000/user-goals/update-quiz-selected', {

const supabaseUrl = import.meta.env.VITE_SUPABASE_URL
fetch('https://nisa-invest-tfb-be.vercel.app/user-goals/update-quiz-selected', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 0f27263

Please sign in to comment.