File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33 * Defaults set from default.js
44 */
55
6- const port = 3000 ;
6+ const port = 7337 ;
77const NODE_ENV = process . env . NODE_ENV ;
88module . exports = {
9- port : 3000 ,
9+ port,
1010 enableFileLogs : false ,
1111 // Console logs are set to avoid the winston error of no defined transports
1212 enableConsoleLogs : true ,
Original file line number Diff line number Diff line change 11const defaultClientId = config . get ( "githubOauth.clientId" ) ;
2+ const baseURL = config . get ( "services.rdsApi.baseUrl" ) ;
23
34const generateGithubAuthRedirectUrl = function ( {
45 baseUrl = "https://github.com/login/oauth/authorize" ,
56 responseType = "code" ,
6- redirectUri = "http://localhost:3000/ auth/github/callback" ,
7+ redirectUri = ` ${ baseURL } / auth/github/callback` ,
78 scope = "user:email" ,
89 state = "" ,
910 clientId = defaultClientId ,
You can’t perform that action at this time.
0 commit comments