fix: await getBaseUrl in meta and posts

This commit is contained in:
himanshu8443
2025-07-16 17:05:35 +05:30
parent cdec50d9f5
commit 16f62e1226
4 changed files with 6 additions and 4 deletions

View File

@@ -17,7 +17,9 @@ export const getPosts = async function ({
if (page > 1) {
return posts;
}
const baseUrl = getBaseUrl("movieBox");
const baseUrl = await getBaseUrl("movieBox");
console.log("baseUrl", baseUrl);
const url = `${baseUrl}/wefeed-mobile-bff/tab-operating?page=3&tabId=0&version=2fe0d7c224603ff7b0df294b46d3b84b`;
const response = await fetch("https://dob-worker.8man.workers.dev", {