@deco-team/deco-server
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -717,9 +717,5 @@ import express from "express"; | ||
// Current working directory | ||
const currentDirectory = process.cwd(); | ||
// Relative path for import | ||
const appPath = `./installs/${manifest.name}/app.js`; | ||
// Calculate relative path for import | ||
const relativePath = path.relative(currentDirectory, `${installFolder}/app.js`); | ||
const appPath = `./${relativePath}`; | ||
// Load app package contents | ||
@@ -726,0 +722,0 @@ const pluginData = await import(appPath); |
{ | ||
"name": "@deco-team/deco-server", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A web server that enables installable plugins, structured learning and bidirectional AI interactions.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
52831
1004