From be62da4c3ed2ff318c23e98e41aaa51bcfa5a848 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 11 May 2023 13:32:59 -0700 Subject: [PATCH] ImportMap - Fix browser warning (the `/`s should match) --- Civi/Core/ImportMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Core/ImportMap.php b/Civi/Core/ImportMap.php index 29e4138956..928f699caa 100644 --- a/Civi/Core/ImportMap.php +++ b/Civi/Core/ImportMap.php @@ -179,7 +179,7 @@ class ImportMap extends \Civi\Core\Service\AutoService implements HookInterface $importMap = \Civi::cache('long')->get('import-map'); if ($importMap === NULL) { $importMap = []; - $importMap['imports']['civicrm/'] = \Civi::paths()->getUrl('[civicrm.root]/.'); + $importMap['imports']['civicrm/'] = \Civi::paths()->getUrl('[civicrm.root]/'); \CRM_Utils_Hook::esmImportMap($importMap, []); \Civi::cache('long')->set('import-map', $importMap); } -- 2.25.1