set endpoint to local mock