Using react peoject with json-server

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 “

But iam also running a json-server in shell tab with command “json-server --watch expenses.json --host --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 “

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