mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-13 02:17:05 +00:00
Merge changes from main: Add GetHomepage integration and update to v1.2.9
- Added gethomepageRoutes.js for GetHomepage integration - Updated all package.json files to version 1.2.9 - Updated agent script to version 1.2.9 - Updated version fallbacks in versionRoutes.js and updateScheduler.js - Updated setup.sh with version 1.2.9 - Merged GetHomepage integration UI (Integrations.jsx) - Updated docker-entrypoint.sh from main - Updated VersionUpdateTab component - Combined automation and gethomepage routes in server.js - Maintains both BullMQ automation and GetHomepage functionality
This commit is contained in:
@@ -104,7 +104,7 @@ class UpdateScheduler {
|
||||
}
|
||||
|
||||
// Read version from package.json dynamically
|
||||
let currentVersion = "1.2.7"; // fallback
|
||||
let currentVersion = "1.2.9"; // fallback
|
||||
try {
|
||||
const packageJson = require("../../package.json");
|
||||
if (packageJson?.version) {
|
||||
@@ -214,7 +214,7 @@ class UpdateScheduler {
|
||||
const httpsRepoUrl = `https://api.github.com/repos/${owner}/${repo}/releases/latest`;
|
||||
|
||||
// Get current version for User-Agent
|
||||
let currentVersion = "1.2.7"; // fallback
|
||||
let currentVersion = "1.2.9"; // fallback
|
||||
try {
|
||||
const packageJson = require("../../package.json");
|
||||
if (packageJson?.version) {
|
||||
|
||||
Reference in New Issue
Block a user