|
|
@ -114,7 +114,6 @@ export class RemixAppManager extends PluginManager { |
|
|
|
const res = await fetch(this.pluginsDirectory) |
|
|
|
const res = await fetch(this.pluginsDirectory) |
|
|
|
plugins = await res.json() |
|
|
|
plugins = await res.json() |
|
|
|
plugins = plugins.filter((plugin) => { |
|
|
|
plugins = plugins.filter((plugin) => { |
|
|
|
if (plugin.name === 'scriptRunner') plugin.url = 'http://127.0.0.1:8081' |
|
|
|
|
|
|
|
if (plugin.targets && Array.isArray(plugin.targets) && plugin.targets.length > 0) { |
|
|
|
if (plugin.targets && Array.isArray(plugin.targets) && plugin.targets.length > 0) { |
|
|
|
return (plugin.targets.includes('remix')) |
|
|
|
return (plugin.targets.includes('remix')) |
|
|
|
} |
|
|
|
} |
|
|
|