mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Added server/api url
This commit is contained in:
@@ -9,7 +9,7 @@ export default function UserQuestions (props) {
|
||||
|
||||
useEffect(() => {
|
||||
console.info('Fetching qa.json')
|
||||
fetch(`${constants.serverUrl}qa.json`) // eslint-disable-line
|
||||
fetch(`${constants.apiUrl}qa.json`) // eslint-disable-line
|
||||
.then((resp) => {
|
||||
return resp.json()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user