Modified areas for fqdn usage and use of .env for cors

This commit is contained in:
Muhammad Ibrahim
2025-09-17 12:10:49 +01:00
parent c5332ce6b0
commit 9714be788b
2 changed files with 6 additions and 2 deletions

4
.gitignore vendored
View File

@@ -135,3 +135,7 @@ test-results.xml
# package-lock.json
# yarn.lock
# pnpm-lock.yaml
# Deployment scripts (production deployment tools)
deploy-patchmon.sh
manage-instances.sh

View File

@@ -4,9 +4,9 @@
# This script sends package update information to the PatchMon server using API credentials
# Configuration
PATCHMON_SERVER="http://localhost:3001"
PATCHMON_SERVER="${PATCHMON_SERVER:-http://localhost:3001}"
API_VERSION="v1"
AGENT_VERSION="1.2.2"
AGENT_VERSION="1.2.3"
CONFIG_FILE="/etc/patchmon/agent.conf"
CREDENTIALS_FILE="/etc/patchmon/credentials"
LOG_FILE="/var/log/patchmon-agent.log"