json-server
json-server copied to clipboard
change homepage path
Is there a way to configure so it will always return the default index file? Regardless if there is a ./public directory?
I am having an issue when using this with create react app which ships with a .public
directory that it serves the react app from. Problem is when I run this with json-server, it sees the public dir then tries to serve that, thus not serving the default home page.