Closed jish closed 5 years ago
The GraphiQL link only shows up in the "development"
environment:
$ go build
$ GO_ENV=production ./go_stop
There are a few housekeeping and cleanup commits that were necessary, but this commit is the one that actually implements the hiding logic: https://github.com/camirmas/go-stop-go/pull/39/commits/caabd8100c0df68e588c3ca43bd09f42bcb1aec1
Also, this resolves #26. Nice work!
Currently when loading the server in development an empty 404 page is rendered. This is confusing to new developers as they are unsure if the server is working properly, and if it is working properly, there is no guidance as to what to do with the server.
Before
After