diff --git a/client/pages/forms/[slug]/index.vue b/client/pages/forms/[slug]/index.vue index 50bc773..a856b11 100644 --- a/client/pages/forms/[slug]/index.vue +++ b/client/pages/forms/[slug]/index.vue @@ -170,6 +170,6 @@ useHead({ } 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` } ] }) diff --git a/client/runtimeConfig.js b/client/runtimeConfig.js index 245957f..d0c1ba6 100644 --- a/client/runtimeConfig.js +++ b/client/runtimeConfig.js @@ -1,11 +1,9 @@ -console.log(process.env) -console.log('hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh') export default { // Keys within public, will be also exposed to the client-side public: { apiBase: process.env.NUXT_PUBLIC_API_BASE ||'', 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', hCaptchaSiteKey: process.env.NUXT_PUBLIC_H_CAPTCHA_SITE_KEY || null, googleAnalyticsCode: process.env.NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE || null,