Question about homepage canonical URL

My domain follows the non-trailing slash format for URLs. However, the homepage canonical is currently:

https://domain.com/ (with a trailing slash)

Should I change it to:

https://domain.com (without the trailing slash)?


Does the trailing slash make any difference for SEO?