Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit a30b740

Browse files
author
Stefan Retief
authored
removed keys (#308)
1 parent c969ca9 commit a30b740

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.env

+3
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ DISABLE_TERSER=true
88
# TRANSPILE_DEPS=false
99
# DISABLE_TERSER=true
1010
REACT_APP_COMPILER_URL=https://imodeljsdocprodcdnendpoint.azureedge.net/sandbox/compiler
11+
REACT_APP_BING_KEY=""
12+
REACT_APP_MAPBOX_KEY=""
13+
REACT_APP_CESIUMION_KEY=""

src/@itwin/sandbox/view/MapLayerOptions.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import { MapLayerOptions } from "@itwin/core-frontend";
77
export const mapLayerOptions: MapLayerOptions = {
88
BingMaps: {
99
key: "BingKey",
10-
value: "AtaeI3QDNG7Bpv1L53cSfDBgBKXIgLq3q-xmn_Y2UyzvF-68rdVxwAuje49syGZt",
10+
value: process.env.REACT_APP_BING_KEY as string,
1111
},
1212
MapBoxImagery: {
1313
key: "MapBoxKey",
14-
value: "pk%2EeyJ1IjoibWFwYm94YmVudGxleSIsImEiOiJjaWZvN2xpcW00ZWN2czZrcXdreGg2eTJ0In0%2Ef7c9GAxz6j10kZvL%5F2DBHg",
14+
value: process.env.REACT_APP_MAPBOX_KEY as string,
1515
},
1616
};

src/@itwin/sandbox/view/TileAdminOptions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
import { TileAdmin } from "@itwin/core-frontend";
66

77
export const tileAdminOptions: TileAdmin.Props = {
8-
cesiumIonKey: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkZWIxNzk1OC0wNmVjLTQ1NDItOTBlYS1lOTViMDljNzQyNWUiLCJpZCI6MTQwLCJzY29wZXMiOlsiYXNsIiwiYXNyIiwiYXN3IiwiZ2MiXSwiaWF0IjoxNTYyMDA0NTYwfQ.VyMP5TPl--eX2bCQjIY7ijfPCd-J0sSPnEFj_mfPC3k",
8+
cesiumIonKey: process.env.REACT_APP_CESIUMION_KEY,
99
};

0 commit comments

Comments
 (0)