mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 23:51:44 +00:00
fix: await getBaseUrl in meta and posts
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user