fix(config): stop relying on global public config

This commit is contained in:
ThatGuySam 2026-03-15 12:20:19 -05:00
parent d6057857fb
commit f378862b23
9 changed files with 21 additions and 13 deletions

View file

@ -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' ) {