function add_resolution_suffix(pathname) {
	return pathname.replace(/\/$/, '') + ROUTE_SUFFIX;
}
Convert a regular URL to a route to send to SvelteKit's server-side route resolution endpoint
@param {string} pathname
@returns {string}