Custom posts stopped working after moving to new domain

I had to flush my permalinks, so I went to Settings > Permalinks and just clicked save changes.

tech