Is it possible in SvelteKit to get protocol of current page (HTTP or HTTPS)?
Something like:
import {page} from '$app/stores';
console.log($page.protocol);
So far, I only see:
{
host: 'localhost:3000',
path: '/projektDetalji',
query: URLSearchParams { 'id' => '1' },
params: {}
}