mirror of
https://gitlab.com/MrFry/qmining-page
synced 2026-04-28 11:17:37 +02:00
Added server/api url
This commit is contained in:
+1
-1
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user