This commit is contained in:
xomimishka committed 2026-06-18 13:55:46 +03:00
1 parent a600e91744
commit 84d6f88535
7 files changed
+12 -11

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ export function useWpMainPageData() {
useEffect(() => {
// Заменяй slug на нужный слаг твоей главной страницы в WP
fetch("https://test.skbkit.ru/wp-json/wp/v2/pages?slug=mainpage&_fields=acf")
fetch("http://192.168.100.215/wp-json/wp/v2/pages?slug=main")
.then((res) => res.json())
.then((data: WpPage[]) => {
if (data && data.length > 0) {