changed the header file

the search bar in header file should now work whether it is on heroku or
localhost