Procházet zdrojové kódy

notifications : fix download links

Olivier Massot před 6 měsíci
rodič
revize
772a9bdfb0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      components/Layout/Header/Notification.vue

+ 1 - 1
components/Layout/Header/Notification.vue

@@ -262,7 +262,7 @@ const download = (link: string) => {
   // En switch : https://api.test5.opentalent.fr/api/{accessId}/{switchId}/files/{fileId}/download
   // Sans switch : https://local.api.opentalent.fr/api/{accessId}/files/{fileId}/download
   const url = UrlUtils.join(
-    runtimeConfig.baseUrlLegacy,
+    runtimeConfig.public.baseUrlLegacy,
     'api',
     String(accessProfileStore.id),
     String(accessProfileStore.switchId || ''),