Set default domain for PageHead class

This commit is contained in:
Sam Carlton 2022-05-26 12:03:55 -05:00
parent 2a9a885e8e
commit d2fe49b9b4

View file

@ -3,6 +3,8 @@ import fs from 'fs-extra'
import nuxtConfig from '~/nuxt.config.js'
import { getSiteUrl } from '~/helpers/url.js'
export const nuxtHead = nuxtConfig.head
export async function getNetlifyConfig () {
@ -100,7 +102,7 @@ export class PageHead {
link = [],
structuredData = null,
domain,
domain = getSiteUrl(),
pathname,
} = options