Frontity can't fetch posts if create custom api route

Frontity can’t fetch data if i create custom api route in my own plugin. It show blank but show pages in pagination.

Here my api url: http://p1.iwc-r1.com/wp-json/

It’s solved!

Hi! I’m having the same issue. Is posible for you to explain how to do it?

this issue is because i change code for default rest route. now i removed it and its fine.