Raathigesh / atmo

:heavy_check_mark: Mock data for your prototypes and demos. Remote deployments to Zeit now.
815 stars 46 forks source link

Can I change JSON Server Endpoint? #54

Closed JayCoPurcell closed 6 years ago

JayCoPurcell commented 6 years ago

When I create new JSON Server Endpoint I can't change '/api' to '/myttt'. Is there a way to change this?

Raathigesh commented 6 years ago

Are you using the electron app or the CLI?

JayCoPurcell commented 6 years ago

@Raathigesh CLI

Raathigesh commented 6 years ago

You should be able to change the URL by changing it here. image

JayCoPurcell commented 6 years ago

I see it, but it doesn't work. I've changed '/api' to '/myttt' and then I deployed, but when I make a response to '/myttt' server send's 404:

Cannot GET /mytttt
Raathigesh commented 6 years ago

Then it seems like a bug, unfortunately!

JayCoPurcell commented 6 years ago

Can you fix it?

Raathigesh commented 6 years ago

I don't maintain the CLI version of Atmo anymore and the electron app version does not support JSON server endpoints. Sorry!