This commit is contained in:
itsrubberduck
2025-09-15 22:13:10 +02:00
parent bf7e2e095c
commit 001a56b2e7

View File

@@ -720,7 +720,7 @@ const loadFlightPlans = async () => {
error.value = ''
try {
const response = await $fetch(`https://api.vatsim.net/v2/members/${vatsimId.value}/flightplans`)
const response = await $fetch(`/api/vatsim/flightplans?cid=${vatsimId.value}`)
if (Array.isArray(response) && response.length > 0) {
flightPlans.value = response.slice(0, 10)