generated from dwd/boilarplate-remix-tailwind-antd
s1
This commit is contained in:
@@ -144,7 +144,7 @@ export default function Index() {
|
||||
const [error, setError] = useState<Error | null>(null);
|
||||
|
||||
useEffect(() => {
|
||||
fetch(`https://api.teachertrainingkolkata.in/api/question-list`)
|
||||
fetch(`http://localhost:5174/api/question-list`)
|
||||
.then(res => {
|
||||
if (!res.ok) {
|
||||
throw new Error('Network response was not ok');
|
||||
|
||||
Reference in New Issue
Block a user