Skip to content

Commit

Permalink
Merge pull request #117 from TRIP-Side-Project/dev-productDetail-feat
Browse files Browse the repository at this point in the history
Style: 티머니  프록시 해제
  • Loading branch information
HyoJeong-Park authored Dec 26, 2023
2 parents e933021 + 5b25903 commit b4d58d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/searchVehicle/SearchVehicle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ const SearchVehicle = () => {
const fetchData = async () => {
try {
const ter_numResponse = await axios.get(
`/proxy/koLoadInfo/v1/load_info/010`,
`https://apigw.tmoney.co.kr:5556/gateway/koLoadInfo/v1/load_info/010`,
// 개발환경에서는 /proxy 로
{
headers: {
"x-Gateway-APIKey": "d2338a0c-d836-421f-aaa3-0679c3884a4a"
Expand Down Expand Up @@ -156,7 +157,7 @@ const SearchVehicle = () => {
const searchDate = selectedDate.split("-").join("");
const searchTime = selectedTime.split(":").join("");
const searchResponse = await axios.get(
`/proxy/koIbtList/v1/ibt_list/${searchDate}/${searchTime}/${numLocation.depature}/${numLocation.arrival}/0/0/9`,
`https://apigw.tmoney.co.kr:5556/gateway/koIbtList/v1/ibt_list/${searchDate}/${searchTime}/${numLocation.depature}/${numLocation.arrival}/0/0/9`,
{
headers: {
"x-Gateway-APIKey": "f7f4cfab-c6e5-4c2d-ba83-283349af63e4"
Expand Down

0 comments on commit b4d58d8

Please sign in to comment.