mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
Support upgrade alpha core
This commit is contained in:
@@ -63,11 +63,7 @@ const SettingClash = ({ onError }: Props) => {
|
||||
await updateGeoData();
|
||||
Notice.success("Start update geodata");
|
||||
} catch (err: any) {
|
||||
if (err.response.status === 400) {
|
||||
Notice.success("Updating geodata...");
|
||||
} else {
|
||||
Notice.error(err.message || err.toString());
|
||||
}
|
||||
Notice.error(err?.response.data.message || err.toString());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user