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

@ -1,5 +1,6 @@
---
// import { getPathPartsFromAstroRequest } from '~/helpers/url.js'
import { publicRuntimeConfig } from '~/helpers/public-runtime-config.mjs'
import {
catchRedirectResponse,
applyResponseDefaults
@ -31,7 +32,7 @@ Astro.response.statusText = 'Not found'
<Layout
headOptions={ {
title: `Page is not compatible with Apple Silicon - Does It ARM`,
description: `Check for Apple Silicon compatibility for any of your apps instantly before you buy an ${ global.$config.processorsVerbiage } Mac. `,
description: `Check for Apple Silicon compatibility for any of your apps instantly before you buy an ${ publicRuntimeConfig.processorsVerbiage } Mac. `,
// meta,
// link,
// structuredData: this.structuredData,
@ -75,4 +76,3 @@ Astro.response.statusText = 'Not found'
-->
</Layout>