From 998efbaf724271d466e00c50f27441c069f80c5f Mon Sep 17 00:00:00 2001
From: phil <phil.dev@philome.mooo.com>
Date: Sat, 6 Apr 2024 13:13:11 +0530
Subject: [PATCH] Fix custom plugin downloaders

---
 src/app/info/info-tools/downloader.component.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/app/info/info-tools/downloader.component.ts b/src/app/info/info-tools/downloader.component.ts
index bfd3de7..695fdd9 100644
--- a/src/app/info/info-tools/downloader.component.ts
+++ b/src/app/info/info-tools/downloader.component.ts
@@ -22,6 +22,9 @@ export class DownloaderComponent implements OnInit {
     }
 
     execute() {
-        window.open('/downloader/' + this.downloader.name + '/' + this.source.modelInfo.store + '/' + this.source.featureInfo.id)
+        window.open('/api/download/plugin/'
+                    + '/' + this.downloader.name
+                    + '/' + this.source.modelInfo.store
+                    + '/' + this.source.featureInfo.id)
     }
 }
\ No newline at end of file