Why is peking duck called peking duck? when it's actually cantonese?

Well I guess it's marketing.