The 2D Euler equation on singular domains