This commit is contained in:
gilesb 2024-03-09 18:50:06 +00:00
parent 96a13868fa
commit 39720961e1
2 changed files with 2 additions and 4 deletions

View File

@ -170,6 +170,6 @@ useHead({
} }
return titleChunk ? `${titleChunk} - OpnForm` : 'OpnForm'; return titleChunk ? `${titleChunk} - OpnForm` : 'OpnForm';
}, },
script: [ { src: `${useRuntimeConfig().public.appBaseUrl}widgets/iframeResizer.contentWindow.min.js` } ] script: [ { src: `${useRuntimeConfig().public.appUrl}/widgets/iframeResizer.contentWindow.min.js` } ]
}) })
</script> </script>

View File

@ -1,11 +1,9 @@
console.log(process.env)
console.log('hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh')
export default { export default {
// Keys within public, will be also exposed to the client-side // Keys within public, will be also exposed to the client-side
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 || '/', try: process.env.NUXT_TRY,
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,