瀏覽代碼

set the new iframe url

Olivier Massot 1 年之前
父節點
當前提交
4719f7743c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      ot_core/ext_localconf.php
  2. 1 1
      ot_templating/Resources/Private/Layouts/Classic/Structures.html

+ 1 - 1
ot_core/ext_localconf.php

@@ -41,7 +41,7 @@ $GLOBALS['OT'] = array_merge([
     'DB_HOST' => 'db',
     'DB_USER' => 'dbcloner',
     'DB_PASSWORD' => 'wWZ4hYcrmHLW2mUK',
-    'FRAMES_BASE_URI' => 'https://local.frames.opentalent.fr',
+    'FRAMES_BASE_URI' => 'https://local.agenda.opentalent.fr',
     'WEBSITE' => 'https://local.opentalent.fr',
     'ADMIN_BASE_URL' => 'https://local.admin.opentalent.fr/',
     'DASHBOARD_URL' => 'https://local.admin.opentalent.fr/#/dashboard',

+ 1 - 1
ot_templating/Resources/Private/Layouts/Classic/Structures.html

@@ -20,7 +20,7 @@
                     src="{ot:request.getOtEnvVar(argument: 'FRAMES_BASE_URI')}/structures/?parent={settings.organizationId}&theme={ot:template.getPreference(key: 'themeColor')}"
                     referrerpolicy="strict-origin"
                     style="border: none;"
-                    onload="iFrameResize()"
+                    onload="iFrameResize({ log: true })"
                     allow="geolocation"
             ></iframe>
         </div>