json-server icon indicating copy to clipboard operation
json-server copied to clipboard

change homepage path

Open stewartduffy opened this issue 6 years ago • 2 comments

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.

stewartduffy avatar Aug 16 '18 20:08 stewartduffy