From 130f880d5d848e304e5c7f7fc9cfc2c2cbec8dfc Mon Sep 17 00:00:00 2001 From: PopSlime Date: Sat, 5 Jul 2025 01:43:50 +0800 Subject: [PATCH] fix: Fix API host of FAN Studio API --- Assets/Cryville.EEW.Unity/Worker.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Cryville.EEW.Unity/Worker.cs b/Assets/Cryville.EEW.Unity/Worker.cs index 14a07fe..94135b1 100644 --- a/Assets/Cryville.EEW.Unity/Worker.cs +++ b/Assets/Cryville.EEW.Unity/Worker.cs @@ -184,9 +184,9 @@ namespace Cryville.EEW.Unity { }, EMSCRealTimeEventSourceConfig => new EMSCRealTimeWorker(new("wss://www.seismicportal.eu/standing_order/websocket")), FANStudioEventSourceConfig fanStudio => fanStudio.Subtype switch { - "cea" => new FANStudioWorker(new("wss://websocket.fanstudio.hk/cea")), - "sichuan" => new FANStudioWorker(new("wss://websocket.fanstudio.hk/sichuan")), - "fujian" => new FANStudioWorker(new("wss://websocket.fanstudio.hk/fujian")), + "cea" => new FANStudioWorker(new("wss://ws.fanstudio.tech/cea")), + "sichuan" => new FANStudioWorker(new("wss://ws.fanstudio.tech/sichuan")), + "fujian" => new FANStudioWorker(new("wss://ws.fanstudio.tech/fujian")), _ => throw new InvalidOperationException("Unknown FAN Studio sub-type."), }, GeoNetEventSourceConfig geoNet => BuildGeoNetWorker(new(new("https://api.geonet.org.nz/quake"), new("https://api.geonet.org.nz/quake/history/index"), new("https://api.geonet.org.nz/intensity/strong/processed/index")), geoNet),