After setting up multisite on localhost, requests to localhost redirect to production domain

OK. I figured it out: When moving to multisite, manually overriding WP_HOME and WP_SITEURL like below doesn’t work anymore:

// Overwrites the database to save from constantly editing the DB
define('WP_HOME','http://localhost');
define('WP_SITEURL','http://localhost/wp');

I fixed this by manually changing the database so WP_HOME is http://localhost and WP_SITEURL is http://localhost/wp.