瀏覽代碼

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 || ''),