This commit is contained in:
gilesb 2024-03-09 18:17:13 +00:00
parent fd6a916061
commit e1eb99541b
2 changed files with 4 additions and 1 deletions

View File

@ -159,6 +159,9 @@ useOpnSeoMeta({
} }
}) })
console.log(`app url is', ${useRuntimeConfig().public.appBaseUrl}`); console.log(`app url is', ${useRuntimeConfig().public.appBaseUrl}`);
console.log(
useRuntimeConfig().public
)
useHead({ useHead({
titleTemplate: (titleChunk) => { titleTemplate: (titleChunk) => {
if (form && form.value?.is_pro && form.value?.seo_meta.page_title) { if (form && form.value?.is_pro && form.value?.seo_meta.page_title) {

View File

@ -3,7 +3,7 @@ export default {
public: { public: {
apiBase: process.env.NUXT_PUBLIC_API_BASE ||'', apiBase: process.env.NUXT_PUBLIC_API_BASE ||'',
appUrl: process.env.NUXT_PUBLIC_APP_URL || '', appUrl: process.env.NUXT_PUBLIC_APP_URL || '',
appBaseUrl: process.env.NUXT_APP_BASE_URL ||'/', appBaseUrl: process.env.NUXT_APP_BASE_URL || '/',
env: process.env.NUXT_PUBLIC_ENV || 'local', env: process.env.NUXT_PUBLIC_ENV || 'local',
hCaptchaSiteKey: process.env.NUXT_PUBLIC_H_CAPTCHA_SITE_KEY || null, hCaptchaSiteKey: process.env.NUXT_PUBLIC_H_CAPTCHA_SITE_KEY || null,
googleAnalyticsCode: process.env.NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE || null, googleAnalyticsCode: process.env.NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE || null,