I want to get the user agent on the load function to choose whether to perform server-side rendering or not depending on the visitor is googlebot or not.
How can I access it inside the load function?
I'm using the latest version of SvelteKit which is 1.0.0.