Skip to content

Commit fa6e6c6

Browse files
fix: topic regex
Co-authored-by: Andy <andrei_lazarov@yahoo.com>
1 parent b86d2e5 commit fa6e6c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/extension/otaUpdate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function writeFirmwareHexToDataDir(hex: string, fileName: string | undefined, de
5050

5151
export default class OTAUpdate extends Extension {
5252
#topicRegex = new RegExp(
53-
`^${settings.get().mqtt.base_topic}/bridge/request/device/ota_update/(update|check|schedule|unschedule)/?(downgrade)?`,
53+
`^${settings.get().mqtt.base_topic}/bridge/request/device/ota_update/(update|check|schedule|unschedule)/?(downgrade|abort)?`,
5454
"i",
5555
);
5656
#inProgress = new Set<string>();

0 commit comments

Comments
 (0)