SAN FRANCISCO (CBS / AP) – San Francisco has approved a measure to cap Airbnb and other short-term rentals at 60 days a year.

Tuesday’s vote by the Board of Supervisors was an initial one. The proposed ordinance, which would apply to hosts who register their homes with the city on or after Tuesday, requires a second vote.

READ MORE: UPDATE: 'Non-Specific Threat' Shuts Down San Francisco State Campus

The ordinance would not affect the roughly 1,700 hosts who have already registered. Those hosts may continue to rent out entire homes for up to 90 days a year, and they can share their homes as much as they want if they stay on site.

There are thousands more hosts who have not registered and are not regulated.

READ MORE: Mountain Lion Spotted In Backyard of Daly City Home; Residents Warned

Foes of San Francisco-based Airbnb say the online platform encourages landlords to take units off the market.

Hosts say they need the extra income to survive.

MORE NEWS: Elizabeth Holmes Confident Demeanor Vanished When Told Tests Didn't Work, Former Lab Director Tells Jury

© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.