Unverified Commit 8813ab64 authored by Andreas Sonnleitner's avatar Andreas Sonnleitner Committed by GitHub

fix: Cannot read properties of undefined (reading 'headers') (#116)

parent 1fcac67f
......@@ -3,7 +3,7 @@ import { feedsInfo } from '~/composables/api'
const route = useRoute()
const host = process.server
? useNuxtApp().ssrContext.req.headers.host
? useRequestHeaders().host
: window.location.host
useHead({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment