DEV Community

Discussion on: Dynamic Pages using React Router

Collapse
godrickaluku profile image
Aluku Godrick

I have tried the same using php as the backend. It works fine. But when I deploy in the cpanel, the dynamic route recieves html response instead of json data. How can I fix this?