Skip to content

Commit

Permalink
fix: cicd, apicli
Browse files Browse the repository at this point in the history
  • Loading branch information
khw18 committed Jun 6, 2024
1 parent 1fb0a4f commit f15cb47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ jobs:
docker stop frontend
docekr rm frontend
docker pull ${{ secrets.DOCKER_HUB_USERNAME }}/ddokddokhana-frontend:latest
docker run -d --name frontend -p 3000:80 ${{ secrets.DOCKER_HUB_USERNAME }}/ddokddokhana-frontend:latest
docker run -d --name frontend -p 80:80 ${{ secrets.DOCKER_HUB_USERNAME }}/ddokddokhana-frontend:latest
EOF
3 changes: 1 addition & 2 deletions src/apis/apiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import {
AccountDetailType,
} from '../types/account';
import { alarmApi } from './interfaces/alarmApi';
// import { API_BASE_URL } from './url';
const API_BASE_URL = "ec2-43-201-217-228.ap-northeast-2.compute.amazonaws.com:8080/api/v1"
import { API_BASE_URL } from './url';
const TOKEN = getCookie('token');

export class ApiClient implements usersApi, accountApi, alarmApi {
Expand Down

0 comments on commit f15cb47

Please sign in to comment.