@ -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
User-agent: Yandex
User-Agent: msnbot
User-agent: baiduspider
Allow: /api/v4/data/observatory