appEndPoints to App
fix require