Add both endpoints to the same app.