Compare commits
2 Commits
456f2c69f2
...
51042c395a
| Author | SHA1 | Date | |
|---|---|---|---|
| 51042c395a | |||
| 6cf964e8f7 |
@ -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',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user