Skip to content

Commit

Permalink
🚨 Hotfix: API 였λ₯˜ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
ruehan committed Dec 10, 2024
1 parent 679754b commit 81a2892
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion public/_redirects
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/api/ors/* http://112.162.84.70:8003/ors/:splat 200!
/api/ors/v2/directions/foot-walking/geojson http://112.162.84.70:8003/ors/v2/directions/foot-walking/geojson 200!
/* /index.html 200
7 changes: 6 additions & 1 deletion src/pages/WalkPage/components/MapComponent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,12 @@ export default function MapComponent({ isModalOpen = false, setNearbyWalkers }:
{
headers: {
'Content-Type': 'application/json',
Accept: 'application/json',
},
// ν”„λ‘μ‹œ μš”μ²­μž„μ„ λͺ…μ‹œ
proxy: {
protocol: 'http',
host: '112.162.84.70',
port: 8003,
},
}
)
Expand Down

0 comments on commit 81a2892

Please sign in to comment.