Commit Graph

7 Commits (a0ef02e4f6aa54184e8e9a76fed20b553a11a89e)

Author SHA1 Message Date
Franz Liedke a0ef02e4f6 Use Whoops in debug mode, JSON API compliant errors otherwise 2015-06-20 20:39:29 +02:00
Franz Liedke fe2752ae73 Use new error handling middleware for API 2015-06-20 19:46:20 +02:00
Toby Zerner 07856bd53e Load extensions after other service providers
And let them know what kind of request this is via a “type” binding on
the container. Not sure if there is a better way to do this. But they
need to know somehow, so extenders can act selectively (e.g. the
ForumClient extender should only act on forum requests, not on API or
admin requests)
2015-06-18 17:46:49 +09:30
Toby Zerner e75f8f2ba2 Reconfigure nginx during provisioning to do rewrites 2015-06-17 19:19:47 +09:30
Toby Zerner f07fc1d838 Revert some changes 2015-06-17 18:16:37 +09:30
Toby Zerner cc8a864f5a Back to nginx for now, split up index/admin entries 2015-06-17 17:52:53 +09:30
Franz Liedke f521f6640b Split API and frontend controllers 2015-06-17 02:00:20 +02:00