Преглед на файлове

notifications : fix download links

Olivier Massot преди 6 месеца
родител
ревизия
772a9bdfb0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 || ''),