Add s3 endpoint as preload
This commit is contained in:
@@ -12,6 +12,8 @@ const title = computed(() =>
|
||||
title: t((route.meta.title as string) || 'layouts.default_tile')
|
||||
})
|
||||
);
|
||||
|
||||
const { s3Bucket, s3Host } = useRuntimeConfig().public;
|
||||
</script>
|
||||
<template>
|
||||
<Html
|
||||
@@ -28,6 +30,8 @@ const title = computed(() =>
|
||||
:hreflang="link.hreflang"
|
||||
/>
|
||||
</template>
|
||||
<Link rel="dns-prefetch" :href="`https://${s3Bucket}.${s3Host}/`" />
|
||||
<Link rel="preconnect" :href="`https://${s3Bucket}.${s3Host}/`" />
|
||||
<template v-for="meta in head.meta" :key="meta.id">
|
||||
<Meta :id="meta.id" :property="meta.property" :content="meta.content" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user