mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-10-20 15:27:09 +00:00
Use backend address.
This commit is contained in:
1 parent
5295ec664b
commit
be9bae93de
1 file changed
+2
-2
@@ -244,8 +244,8 @@ const regionDisplay = computed(() => {
|
||||
|
||||
onMounted(async () => {
|
||||
try {
|
||||
const response = await fetch('/servers.json')
|
||||
//const response = await fetch('https://backend.beammp.com/servers-info')
|
||||
//const response = await fetch('/servers.json')
|
||||
const response = await fetch('https://backend.beammp.com/servers-info')
|
||||
console.log(response)
|
||||
if (!response.ok) throw new Error('Failed to fetch servers')
|
||||
const data = await response.json()
|
||||
|
||||
Reference in new issue
Block a user