feat: 修改地图服务跳转链接
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m57s

- 将高德地图改为百度地图
This commit is contained in:
2025-11-19 14:05:28 +08:00
parent 456f2c69f2
commit 6cf964e8f7

View File

@ -15,7 +15,8 @@ async function testSpeed(url: string, timeout = 1500) {
async function selectBestMap() {
const testTargets = {
amap: 'https://www.amap.com/favicon.ico',
// amap: 'https://www.amap.com/favicon.ico',
baidu: 'https://map.baidu.com/favicon.ico',
google: 'https://maps.google.com/favicon.ico',
};
@ -33,7 +34,8 @@ async function selectBestMap() {
export async function getAutoMappedService(): Promise<string> {
const target = {
amap: 'https://surl.amap.com/2dYNorIJ1dgoN',
// amap: 'https://surl.amap.com/2dYNorIJ1dgoN',
baidu: 'https://j.map.baidu.com/f9/c3x',
google: 'https://maps.app.goo.gl/9LqvMwEq7VaRkqnM6',
};