Skip to content

Commit 0439595

Browse files
committed
fixing url
1 parent 17f9477 commit 0439595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CountryCommon.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function CountryData({ country }) {
1717
useEffect(() => {
1818
async function fetchData() {
1919
try {
20-
const response = await fetch('http://localhost:8001/records?' + new URLSearchParams({
20+
const response = await fetch('https://aifuv2.eastus.azurecontainer.io/records?' + new URLSearchParams({
2121
table_name: country
2222
}), {
2323
method: 'GET', // or 'PUT'

0 commit comments

Comments
 (0)