ADSB/AIS image proxy

This commit is contained in:
2026-07-03 18:52:34 -04:00
parent 1451145408
commit fec6ee8a48

View File

@@ -90,5 +90,5 @@ export async function getAIS() {
export function getAISImage(mmsi) { export function getAISImage(mmsi) {
return fetch(`https://www.marinetraffic.com/getAssetDefaultPhoto/?photo_size=800&asset_type_id=0&asset_id=${mmsi}`) return fetch(`https://www.marinetraffic.com/getAssetDefaultPhoto/?photo_size=800&asset_type_id=0&asset_id=${mmsi}`)
.then(resp => resp.ok ? resp.blob() : null); .then(resp => resp.blob());
} }