Updated robots.txt and fixed base url

pull/16148/head
albertoac 4 years ago
parent cf0275c8f8
commit 93fa13faa8

@ -4,6 +4,6 @@ export function getBaseURL (state) {
const host = state.config.account_host;
return `https://${username}.${host}/api/v4`;
} else {
return 'https://public.carto.com/api/v4/';
return 'https://public.carto.com/api/v4';
}
}

@ -2,16 +2,11 @@
# while trying to access our API or whatever
User-agent: Googlebot
Disallow: /api/
User-Agent: Slurp
Disallow: /api/
User-agent: Yandex
Disallow: /api/
User-Agent: msnbot
Disallow: /api/
User-agent: baiduspider
Disallow: /api/
User-agent: Googlebot
Allow: /api/v4/data/observatory
Loading…
Cancel
Save