Skip to content

🎥 Make videos programmatically with React

Update Comp.tsx

JonnyBurger35f4bea82348
diff --git a/packages/promo-pages/src/components/homepage/Demo/Comp.tsx b/packages/promo-pages/src/components/homepage/Demo/Comp.tsx
index a4bccfcc47..2d514399c3 100644
--- a/packages/promo-pages/src/components/homepage/Demo/Comp.tsx
+++ b/packages/promo-pages/src/components/homepage/Demo/Comp.tsx
@@ -27,9 +27,9 @@ export type LocationAndTrending = {
};
export const getDataAndProps = async () => {
- const location = (await fetch('https://bugs.remotion.dev/api/location').then(
- (res) => res.json(),
- )) as Location;
+ const location = (await fetch(
+ 'https://bugs-five.vercel.app/api/location',
+ ).then((res) => res.json())) as Location;
const trending = await fetch(
`https://bugs.remotion.dev/trending?lat=${location.latitude}&lng=${location.longitude}&country=${location.country}`,