File tree Expand file tree Collapse file tree 2 files changed +26
-24
lines changed Expand file tree Collapse file tree 2 files changed +26
-24
lines changed Original file line number Diff line number Diff line change 1
1
type Config = {
2
- apiUrl : string ;
3
- githubClientId : string ;
4
- }
2
+ apiUrl : string ;
3
+ githubClientId : string ;
4
+ } ;
5
5
6
6
const config : Config = {
7
- apiUrl : process . env . GATSBY_API_URL || " http://localhost:4000" ,
8
- githubClientId : process . env . GATSBY_GITHUB_CLIENT_ID || "Iv1.5345771c55b8eb37"
9
- }
7
+ apiUrl : process . env . GATSBY_API_URL || ' http://localhost:4000' ,
8
+ githubClientId : process . env . GATSBY_GITHUB_CLIENT_ID || '2f9502dd9f0f44ca2e3b' ,
9
+ } ;
10
10
11
- export default config ;
11
+ export default config ;
Original file line number Diff line number Diff line change 1
1
export type Config = {
2
- github : {
3
- CLIENT_ID : string ;
4
- CLIENT_SECRET : string ;
5
- } ,
6
- jwt : {
7
- SECRET : string
8
- }
9
- } ;
10
- // https://github.com/login/oauth/authorize?client_id=Iv1.5345771c55b8eb37 &redirect_uri=http://localhost:8000
2
+ github : {
3
+ CLIENT_ID : string
4
+ CLIENT_SECRET : string
5
+ }
6
+ jwt : {
7
+ SECRET : string
8
+ }
9
+ }
10
+ // https://github.com/login/oauth/authorize?client_id=2f9502dd9f0f44ca2e3b &redirect_uri=http://localhost:8000
11
11
const config : Config = {
12
- github : {
13
- CLIENT_ID : process . env . GQL_GITHUB_CLIENT_ID || "Iv1.5345771c55b8eb37" ,
14
- CLIENT_SECRET : process . env . GQL_GITHUB_CLIENT_SECRET || "19cef65a19b44c2c28e86f3969d83583cf071b02"
15
- } ,
16
- jwt : {
17
- SECRET : process . env . GQL_JWT_SECRET || "helloworld"
18
- }
12
+ github : {
13
+ CLIENT_ID : process . env . GQL_GITHUB_CLIENT_ID || '2f9502dd9f0f44ca2e3b' ,
14
+ CLIENT_SECRET :
15
+ process . env . GQL_GITHUB_CLIENT_SECRET ||
16
+ 'c89179109eec632c40ae3b589ed231497eb78cf1' ,
17
+ } ,
18
+ jwt : {
19
+ SECRET : process . env . GQL_JWT_SECRET || 'helloworld' ,
20
+ } ,
19
21
}
20
22
21
- export default config ;
23
+ export default config
You can’t perform that action at this time.
0 commit comments