A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
chore: removes left over mqtt remnants
towfiqi8e097e8d310d
diff --git a/backend/src/routes/health.ts b/backend/src/routes/health.tsindex cb24332..00e3bb8 100644--- a/backend/src/routes/health.ts+++ b/backend/src/routes/health.ts@@ -41,7 +41,6 @@ export function createHealthRouter(router: Router = Router()): Router {version: process.env.APP_VERSION || 'unknown',checks: {database: false,- mqtt: false,restic: false,rclone: false,rear: false,diff --git a/backend/src/services/ConfigService.ts b/backend/src/services/ConfigService.tsindex a2060d9..14cb0a1 100644--- a/backend/src/services/ConfigService.ts+++ b/backend/src/services/ConfigService.ts@@ -13,7 +13,6 @@ const baseConfigSchema = z.object({// GeneralNODE_ENV: z.enum(['development', 'production', 'test']).default('production'),SERVER_PORT: z.coerce.number().int().positive().default(5173),- MQTT_PORT: z.coerce.number().int().positive().default(1883).optional(),APP_URL: z.string().default('http://localhost:5173'),APP_TITLE: z.string().min(1).default('Pluton'),MAX_CONCURRENT_BACKUPS: z.coerce.number().int().positive().default(2),@@ -59,7 +58,6 @@ const userConfigSchema = baseConfigSchemaMAX_CONCURRENT_BACKUPS: true,SESSION_DURATION: true,SERVER_PORT: true,- MQTT_PORT: true,ALLOW_CUSTOM_RESTORE_PATH: true,ALLOW_FILE_BROWSER: true,FILE_BROWSER_ROOT: true,diff --git a/backend/src/strategies/system/RemoteStrategy.ts b/backend/src/strategies/system/RemoteStrategy.tsindex 3541936..fb7896c 100644--- a/backend/src/strategies/system/RemoteStrategy.ts+++ b/backend/src/strategies/system/RemoteStrategy.ts@@ -81,11 +81,6 @@ export class RemoteStrategy implements SystemStrategy {action: string,payload: any): Promise<{ success: boolean; result: any }> {- console.log(- '[MQTT] Publishing command:',- this.deviceId,- `command/system/${this.deviceId}/${action}`- );return new Promise((resolve, reject) => {resolve({ success: true, result: null });});