A two-dimensional detonation supported by a blunt body or a wedge