Point relay baseURL at API relay :8789 for live test

The API relay (fuelboard-relay-api, official Fuel Finder source) passed
contract verification and live health (source=api, 8010 stations).
Switching the app's single relay URL to :8789; original CSV relay stays
running on :8788 if we need to roll back.
This commit is contained in:
FuelBoard Contributor
2026-08-12 16:04:51 +01:00
parent 3988dea30c
commit a5a95cbb03
+1 -1
View File
@@ -49,7 +49,7 @@ enum FuelPriceProvider {
/// Fuel Finder dataset every station in England, Wales, Scotland, NI and /// Fuel Finder dataset every station in England, Wales, Scotland, NI and
/// filters/sorts server-side. No credentials in the app. /// filters/sorts server-side. No credentials in the app.
struct RelayFuelProvider: FuelPriceProviding { struct RelayFuelProvider: FuelPriceProviding {
var baseURL = URL(string: "http://192.168.1.131:8788")! var baseURL = URL(string: "http://192.168.1.131:8789")!
func fetchStations(near lat: Double?, lng: Double?, fuel: FuelType, radiusKM: Double?) async throws -> [FuelStation] { func fetchStations(near lat: Double?, lng: Double?, fuel: FuelType, radiusKM: Double?) async throws -> [FuelStation] {
var components = URLComponents(url: baseURL.appendingPathComponent("api/v1/stations"), resolvingAgainstBaseURL: false)! var components = URLComponents(url: baseURL.appendingPathComponent("api/v1/stations"), resolvingAgainstBaseURL: false)!