changed base directory on instagram feed depending on if we are on localhost