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:
@@ -49,7 +49,7 @@ enum FuelPriceProvider {
|
||||
/// Fuel Finder dataset — every station in England, Wales, Scotland, NI — and
|
||||
/// filters/sorts server-side. No credentials in the app.
|
||||
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] {
|
||||
var components = URLComponents(url: baseURL.appendingPathComponent("api/v1/stations"), resolvingAgainstBaseURL: false)!
|
||||
|
||||
Reference in New Issue
Block a user