Skip to content

Commit 404458a

Browse files
authored
Merge pull request #37 from Iconem/minor_bugfixes
fix env and safe dotenv, remove head
2 parents 2720900 + bb7e53c commit 404458a

6 files changed

Lines changed: 13 additions & 381 deletions

File tree

.env.example

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
MAPBOX_TOKEN=
2-
UP42_PROJECT_ID=
3-
UP42_PROJECT_APIKEY=
4-
EOS_APIKEY=
5-
SKYWATCH_APIKEY=
6-
MAXAR_DIGITALGLOBE_APIKEY=
2+
PROXY_BASE_URL=
3+
PROXY_API_KEY=
74
ARLULA_APIKEY=
85
ARLULA_APISECURITY=
9-
HEAD_APIKEY=
6+
EOS_APIKEY=
7+
MAXAR_DIGITALGLOBE_APIKEY=
8+
SKYFI_API_KEY=
9+
UP42_PROJECT_APIKEY=
10+
SKYWATCH_APIKEY=
11+
UP42_ACCOUNT_EMAIL=
12+
UP42_ACCOUNT_PASSWORD=

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ We're currently evaluating adding the following (complete list [here](https://gi
5252

5353
### Long Term
5454

55-
- Helps order making/deep-links when available (no deep-links for any platform when checked unfortunately): make selection, export requests email with scene IDs, permalinks. Maxar sends post request to https://api.discover.digitalglobe.com/v1/store , head-aerospace is not very clean. EOS has clean permalinks.
55+
- Helps order making/deep-links when available (no deep-links for any platform when checked unfortunately): make selection, export requests email with scene IDs, permalinks. Maxar sends post request to https://api.discover.digitalglobe.com/v1/store . EOS has clean permalinks.
5656
- Not really useful: [intro-js](https://github.com/usablica/intro.js) or [reactour](https://reactour.vercel.app/) (or react-joyride) guided steps walkthrough/onboarding guides
5757

5858
#### Serverless Proxy server - STAC conversion

src/archive-apis/search-head.tsx

Lines changed: 0 additions & 296 deletions
This file was deleted.

src/archive-apis/search-up42.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ const getUp42Bearer = async (
4545
password?: string,
4646
setters?: Record<string, (...args: any[]) => void>
4747
): Promise<string> => {
48-
const username = email && email.trim() !== "" ? email : process.env.REACT_APP_UP42_ACCOUNT_EMAIL;
49-
const pwd = password && password.trim() !== "" ? password : process.env.REACT_APP_UP42_ACCOUNT_PASSWORD;
48+
const username = email && email.trim() !== "" ? email : process.env.UP42_ACCOUNT_EMAIL;
49+
const pwd = password && password.trim() !== "" ? password : process.env.UP42_ACCOUNT_PASSWORD;
5050
const formData = new URLSearchParams();
5151
if (!username || !pwd) {
5252
throw new Error("Missing credentials: email or password is undefined");

0 commit comments

Comments
 (0)