App should support sandbox hosts

#111 broke support for sandboxes. This fixes that and also adds support for the standard wiki/ Route. @aquilax  @hakubo