Time to worker on marketplace proxying & hostname switching

This will be HELL
This commit is contained in:
MotorTruck1221 2024-10-25 17:03:27 -06:00
parent 202b9946e2
commit 5dc222a0df
No known key found for this signature in database
GPG key ID: 58241D7D0CAD3E4E

View file

@ -85,7 +85,6 @@ const marketPlaceSettings = {
plugins.forEach(async (plugin: Plugin) => {
if (plugin.type === "page") {
const pluginScript = await fetch(`/packages/${plugin.name}/${plugin.src}`).then((res) => res.text());
console.log(`Plugin: ${plugin.name} has the following: ${pluginScript}`);
const script = eval(pluginScript);
const inject = await script() as unknown as SWPlugin;
if (plugin.remove) {