Is Buffalo closer to Canada than Detroit?

No Detroit is closer to the canada-usa border because Detroit's downtown is right on the waterfront of the Detroit River and downtown Buffalo is afew kilometers east of the niagara river and the border slants away from the city at lake Erie.