Skip to content

Commit

Permalink
chore(tiles-api): removing outdated tilesRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
willian-viana committed May 25, 2023
1 parent 0fc5f5e commit b1a0b5c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions utils/apis.js
Expand Up @@ -17,9 +17,6 @@ export const RESOURCE_WATCH_API = 'https://api.resourcewatch.org/v1';
export const RESOURCE_WATCH_STAGING_API =
'https://staging-api.resourcewatch.org/v1';

// GFW TILES API
export const GFW_TILES_API = 'https://tiles.globalforestwatch.org';

// CARTO API
export const CARTO_API = 'https://wri-01.carto.com/api/v2';

Expand Down
6 changes: 0 additions & 6 deletions utils/request.js
Expand Up @@ -2,7 +2,6 @@ import { CancelToken, create } from 'axios';
import wriAPISerializer from 'wri-json-api-serializer';

import {
GFW_TILES_API,
CARTO_API,
MAPBOX_API,
RESOURCE_WATCH_API,
Expand Down Expand Up @@ -78,11 +77,6 @@ export const metadataRequest = create({
}),
});

export const tilesRequest = create({
...defaultRequestConfig,
baseURL: GFW_TILES_API,
});

export const rwRequest = create({
...defaultRequestConfig,
...(isServer && {
Expand Down

0 comments on commit b1a0b5c

Please sign in to comment.