Added API

This commit is contained in:
dredgy committed 2026-06-21 12:52:30 +10:00
1 parent 05ca994253
commit 5850c849d0
32 files changed
+248 -107

No files matched your search

@@ -36,7 +36,8 @@ class UserProfileController extends Controller
}
public static function getUserFlightApiURL(User $user){
return '/data/user/'.$user->name.'/flights';
return config('app.logo_api_url').'/user/'.$user->name.'/flights';
//return '/data/user/'.$user->name.'/flights';
}
public function profileData(User $user, string $view, ?int $selectedFlightId = null) : array {