Docker + Frontity error 404

I created my development environment with Docker and I’m having problems connecting the wordpress backend with the frontity, inside the frontity.settings.js there is the API field, but inside the docker I can only access JSON with http: // localhost:3333/?rest_route=/, the ending / wp-json / I have no return.

when I was using MAMP the final /wp-json worked but now with docker I can’t get an answer with the final /?rest_route=/. Could anyone explain to me what’s going on?

Hi @phregenes

Welcome to the community. Check your permalink setting in the WP admin pages. If it’s set to plain then that’s likely to be the cause of the problem. Ensure that it’s set to any of the other options except plain.

thank you!!!