We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 266db67 + d76b2f9 commit 9ce6256Copy full SHA for 9ce6256
.gitignore
@@ -68,3 +68,6 @@ typings/
68
69
# cache directory
70
shst
71
+
72
+data
73
+.DS_Store
src/tiles.ts
@@ -19,8 +19,8 @@ const sphericalMercator = new SphericalMercator({
19
20
const DEFAULT_ZLEVEL = 12;
21
22
-const SHST_ID_API_URL = 'https://api.sharedstreets.io/v0.1.0/id/';
23
-const SHST_TILE_URL = 'https://tiles.sharedstreets.io/';
+const SHST_ID_API_URL = process.env.SHST_ID_API_URL || 'https://api.sharedstreets.io/v0.1.0/id/';
+const SHST_TILE_URL = process.env.SHST_TILE_URL || 'https://tiles.sharedstreets.io/';
24
25
const USE_LOCAL_CACHE = true;
26
const SHST_TILE_CACHE_DIR = resolveHome('~/.shst/cache/tiles/');
0 commit comments