Skip to content

Commit

Permalink
fixing url
Browse files Browse the repository at this point in the history
  • Loading branch information
armsp committed Aug 28, 2023
1 parent 17f9477 commit 0439595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CountryCommon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function CountryData({ country }) {
useEffect(() => {
async function fetchData() {
try {
const response = await fetch('http://localhost:8001/records?' + new URLSearchParams({
const response = await fetch('https://aifuv2.eastus.azurecontainer.io/records?' + new URLSearchParams({
table_name: country
}), {
method: 'GET', // or 'PUT'
Expand Down

0 comments on commit 0439595

Please sign in to comment.