mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Set default domain for PageHead class
This commit is contained in:
parent
2a9a885e8e
commit
d2fe49b9b4
1 changed files with 3 additions and 1 deletions
|
|
@ -3,6 +3,8 @@ import fs from 'fs-extra'
|
||||||
|
|
||||||
import nuxtConfig from '~/nuxt.config.js'
|
import nuxtConfig from '~/nuxt.config.js'
|
||||||
|
|
||||||
|
import { getSiteUrl } from '~/helpers/url.js'
|
||||||
|
|
||||||
export const nuxtHead = nuxtConfig.head
|
export const nuxtHead = nuxtConfig.head
|
||||||
|
|
||||||
export async function getNetlifyConfig () {
|
export async function getNetlifyConfig () {
|
||||||
|
|
@ -100,7 +102,7 @@ export class PageHead {
|
||||||
link = [],
|
link = [],
|
||||||
structuredData = null,
|
structuredData = null,
|
||||||
|
|
||||||
domain,
|
domain = getSiteUrl(),
|
||||||
pathname,
|
pathname,
|
||||||
} = options
|
} = options
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue