This commit is contained in:
Suvodip
2024-08-13 18:50:45 +05:30
parent 5ae9d77c5a
commit bcae7c673f
26 changed files with 359 additions and 56 deletions

View File

@@ -33,7 +33,7 @@ export default function Index() {
const [error, setError] = useState<Error | null>(null);
useEffect(() => {
fetch('https://api.teachertrainingkolkata.in/api/quiz-module')
fetch('http://localhost:5174/api/quiz-module')
.then((res) => {
if (!res.ok) {
throw new Error('Network response was not ok');