We did a site swap of our root URL using Invoke-SiteSwap, and it worked perfectly. That is, until I was going through the site pages and realized that none of the File Viewer web parts were correctly implemented. I don't have a screenshot, but it said the file could have been temporarily moved/discarded/something like that. I checked and saw the File Viewer web part was looking at the old root URL path.
We had 1x .docx, 4x .mp4, and the rest .pdf files. The .docx and 1 of the .mp4 were fine, but the rest were broken links. Our SharePoint site is relatively small compared to other tenants, so I just manually fixed all the File Viewer web parts that we had. I also didn't wait too long because I got impatient.
Should I have given it more time before jumping the gun to fix it myself? Would the File Viewer web part have fixed itself after sometime? Did anyone else have this issue?