Update for project move on server, add ability to update existing POs, add spec lookup page, enhance copy down functionality.

This commit is contained in:
2026-05-13 11:28:35 -04:00
parent 38f4db3d15
commit c0f4f1de0d
26 changed files with 1414 additions and 103 deletions
@@ -25,7 +25,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
// Load klaviyo .env for API key
dotenv.config({ path: path.resolve(__dirname, '../.env') });
// Also load the main inventory-server .env for DB credentials
const mainEnvPath = '/var/www/html/inventory/.env';
const mainEnvPath = '/var/www/inventory/.env';
if (fs.existsSync(mainEnvPath)) {
dotenv.config({ path: mainEnvPath });
}