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:
parent
49753aa113
commit
4d3f3c0cc4
7 changed files with 19 additions and 5 deletions
|
@ -14,7 +14,7 @@ export default function Index (props) {
|
|||
|
||||
useEffect(() => {
|
||||
console.info('Fetching data')
|
||||
fetch(`${constants.serverUrl}motd`)
|
||||
fetch(`${constants.apiUrl}motd`)
|
||||
.then((resp) => {
|
||||
return resp.text()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue