File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,9 +173,7 @@ jobs:
173173 -e KAKAO_CLIENT_ID="${{ secrets.KAKAO_CLIENT_ID }}" \
174174 -e KAKAO_CLIENT_SECRET="${{ secrets.KAKAO_CLIENT_SECRET }}" \
175175 -e KAKAO_AUTH_CALLBACK_URL="${{ secrets.KAKAO_AUTH_CALLBACK_URL }}" \
176- -e AUTH_SUCCESS_URL="${{ secrets.AUTH_SUCCESS_URL }}" \
177- -e CLIENT_ENDPOINT="${{ secrets.CLIENT_ENDPOINT }}" \
178- -e CLIENT_DOMAIN="${{ secrets.CLIENT_DOMAIN }}" \
176+ -e CLIENT_HOST="${{ secrets.CLIENT_HOST }}" \
179177 -e SESSION_SECRET="${{ secrets.SESSION_SECRET }}" \
180178 --restart always \
181179 ${{ secrets.ECR_REGISTRY }}/loa-work/web-service:latest
Original file line number Diff line number Diff line change @@ -20,10 +20,7 @@ export class AuthController {
2020 } ;
2121
2222 return res . redirect (
23- this . configService . get < string > (
24- 'AUTH_SUCCESS_URL' ,
25- 'http://localhost:3000/' ,
26- ) ,
23+ this . configService . get < string > ( 'CLIENT_HOST' , 'http://localhost:3000/' ) ,
2724 ) ;
2825 }
2926
@@ -41,10 +38,7 @@ export class AuthController {
4138 } ;
4239
4340 return res . redirect (
44- this . configService . get < string > (
45- 'AUTH_SUCCESS_URL' ,
46- 'http://localhost:3000/' ,
47- ) ,
41+ this . configService . get < string > ( 'CLIENT_HOST' , 'http://localhost:3000/' ) ,
4842 ) ;
4943 }
5044
@@ -62,10 +56,7 @@ export class AuthController {
6256 } ;
6357
6458 return res . redirect (
65- this . configService . get < string > (
66- 'AUTH_SUCCESS_URL' ,
67- 'http://localhost:3000/' ,
68- ) ,
59+ this . configService . get < string > ( 'CLIENT_HOST' , 'http://localhost:3000/' ) ,
6960 ) ;
7061 }
7162
You can’t perform that action at this time.
0 commit comments