Skip to content

Commit 68c2a70

Browse files
authored
hotfix/#245 CORS 추가 및 GitHub Actions AWS 접근 시 pem key로 접근하도록 변경 (#246)
1 parent c23aa85 commit 68c2a70

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/staging-build-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
with:
4646
host: ${{ secrets.STAGING_SERVER_HOST }}
4747
username: ${{ secrets.STAGING_SERVER_USERNAME }}
48-
password: ${{ secrets.STAGING_SERVER_PASSWORD }}
48+
key: ${{ secrets.STAGING_SERVER_KEY }}
4949
port: ${{ secrets.STAGING_SERVER_PORT }}
5050
source: "deploy/*"
5151
target: ${{ secrets.STAGING_DEPLOY_PATH }}
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
host: ${{ secrets.STAGING_SERVER_HOST }}
5757
username: ${{ secrets.STAGING_SERVER_USERNAME }}
58-
password: ${{ secrets.STAGING_SERVER_PASSWORD }}
58+
key: ${{ secrets.STAGING_SERVER_KEY }}
5959
port: ${{ secrets.STAGING_SERVER_PORT }}
6060
script: |
6161
cd ${{ secrets.STAGING_DEPLOY_PATH }}

aics-common/src/main/java/kgu/developers/common/config/SecurityConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ CorsConfigurationSource corsConfigurationSource() {
100100
"https://aics-auth.ummdev.com",
101101
"https://aics-client-dev.vercel.app/",
102102
"http://175.45.195.63",
103-
"http://203.249.22.207:8080"
103+
"http://203.249.22.207",
104+
"http://13.125.230.147"
104105
));
105106
config.setAllowCredentials(true);
106107
return config;

0 commit comments

Comments
 (0)