mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
fix(config): stop relying on global public config
This commit is contained in:
parent
d6057857fb
commit
f378862b23
9 changed files with 21 additions and 13 deletions
|
|
@ -2,6 +2,7 @@ import TOML from '@iarna/toml'
|
|||
import fs from 'fs-extra'
|
||||
|
||||
import pkg from '~/package.json'
|
||||
import { publicRuntimeConfig } from '~/helpers/public-runtime-config.mjs'
|
||||
import { getSiteUrl } from '~/helpers/url.js'
|
||||
import { getRouteType } from '~/helpers/app-derived.js'
|
||||
|
||||
|
|
@ -155,7 +156,7 @@ export function makeTitle ( listing ) {
|
|||
}
|
||||
|
||||
export function makeDescription ( listing ) {
|
||||
return `Latest reported support status of ${ listing.name } on Apple Silicon and ${ this.$config.processorsVerbiage } Processors.`
|
||||
return `Latest reported support status of ${ listing.name } on Apple Silicon and ${ publicRuntimeConfig.processorsVerbiage } Processors.`
|
||||
}
|
||||
|
||||
function makeTag ( tag, tagName = 'meta' ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue