3 ms·
The reason for the 404 is because by default no action is bound to / in the proplists for the priv/<appname>.routes file. It tells you that quite succinctly. Ex
by vezzy-fnord 12y ago
The reason for the 404 is because by default no action is bound to / in the proplists for the priv/<appname>.routes file. It tells you that quite succinctly. Explicitly heading to /greeting/hello works, as shown in the quickstart. Modifying the routes file is a good next step.
Your complaint boils down to there not being a pretty "Welcome" page. That could be addressed, but it's hardly a major concern.
- laut 12y agoNo it is not how it looks it is that the documentation is lacking. The quick start didn't work for me. If it had been a simple page returning HTTP code 200 that just said OK, it would at least be something. Sure you can make it work if you invest more time in it, but the point is that there are other platforms that have taken care to make it easier. In general a lot of people seem to think that documentation is one of the biggest issues with Erlang.