© 2026 Hedgehog Software, LLC
devServer: { host: 'app.local', https: { cert: './.certs/app.local.pem', key: './.certs/app.local-key.pem', }, },
https://app.local
http
export default defineEventHandler((event) => { const redirectUrl = getRequestURL(event) console.log('protocol', redirectUrl.protocol) // <-- 'http' return })