]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Fix external lookup
authorValerie Pond <redacted>
Sun, 25 Jun 2023 10:05:22 +0000 (11:05 +0100)
committerValerie Pond <redacted>
Sun, 25 Jun 2023 10:05:22 +0000 (11:05 +0100)
settings/add-plugin.php

index 4ca6df2f5d3f959391f7c7de8d180f425336be54..fd265719c4b06784347a61bab4f51d01ca48df5e 100644 (file)
@@ -118,7 +118,7 @@ $p = new PluginRepo();
 
     function create_info_modal(modname)
     {
-        fetch('https://api.dalek.services/plugins.list')
+        fetch(BASE_URL + 'api/plugin.php')
         .then(response => response.json()) // Parse the response as JSON
         .then(data => {
             for (let i = 0; data[i]; i++)