File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import { getChartsAPI } from "navigraph/charts"
5
5
import { getPackagesAPI } from "navigraph/packages"
6
6
7
7
const config : NavigraphApp = {
8
- clientId : process . env . CLIENT_ID ,
9
- clientSecret : process . env . CLIENT_SECRET ,
8
+ clientId : process . env . NG_CLIENT_ID ,
9
+ clientSecret : process . env . NG_CLIENT_SECRET ,
10
10
scopes : [ Scope . FMSDATA ] ,
11
11
}
12
12
Original file line number Diff line number Diff line change 2
2
3
3
declare namespace NodeJS {
4
4
interface ProcessEnv {
5
- CLIENT_ID : string
6
- CLIENT_SECRET : string
5
+ NG_CLIENT_ID : string
6
+ NG_CLIENT_SECRET : string
7
7
}
8
8
}
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import { getChartsAPI } from "navigraph/charts"
5
5
import { getPackagesAPI } from "navigraph/packages"
6
6
7
7
const config : NavigraphApp = {
8
- clientId : process . env . CLIENT_ID ,
9
- clientSecret : process . env . CLIENT_SECRET ,
8
+ clientId : process . env . NG_CLIENT_ID ,
9
+ clientSecret : process . env . NG_CLIENT_SECRET ,
10
10
scopes : [ Scope . FMSDATA ] ,
11
11
}
12
12
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ export default {
25
25
resolve ( ) ,
26
26
esbuild ( { target : "es2017" } ) ,
27
27
replace ( {
28
- "process.env.CLIENT_ID " : JSON . stringify ( process . env . CLIENT_ID ) ,
29
- "process.env.CLIENT_SECRET " : JSON . stringify ( process . env . CLIENT_SECRET ) ,
28
+ "process.env.NG_CLIENT_ID " : JSON . stringify ( process . env . NG_CLIENT_ID ) ,
29
+ "process.env.NG_CLIENT_SECRET " : JSON . stringify ( process . env . NG_CLIENT_SECRET ) ,
30
30
preventAssignment : true ,
31
31
} ) ,
32
32
copy ( {
You can’t perform that action at this time.
0 commit comments