Using react peoject with json-server

Question:
Hello, iam using a react typescript project, and accessing its index.html page as we all access it hy clicking on the webview’s open in new tab button. With url “http://expensetracker.atikinivris.repl.co

But iam also running a json-server in shell tab with command “json-server --watch expenses.json --host 0.0.0.0 --port 3001”

When i run both my project and the json server iam not able to see my index.html page, but iam able to access the json server endpoints through the project url such as “http://expensetracker.atikinivris.repl.co/expenses

How do i access the endpoints as well as run my index.html togeather?

Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet