Added API

This commit is contained in:
2026-06-21 12:52:30 +10:00
parent 05ca994253
commit 5850c849d0
32 changed files with 248 additions and 107 deletions
@@ -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 {