mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
Remove OTA feature #1738
This commit is contained in:
@@ -4,5 +4,4 @@ export * from './mqtt';
|
||||
export * from './ntp';
|
||||
export * from './security';
|
||||
export * from './shared';
|
||||
export * from './system';
|
||||
export * from './network';
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
import Schema from 'async-validator';
|
||||
|
||||
export const OTA_SETTINGS_VALIDATOR = new Schema({
|
||||
port: [
|
||||
{ required: true, message: 'Port is required' },
|
||||
{
|
||||
type: 'number',
|
||||
min: 1025,
|
||||
max: 65535,
|
||||
message: 'Port must be between 1025 and 65535'
|
||||
}
|
||||
],
|
||||
password: [
|
||||
{ required: true, message: 'Password is required' },
|
||||
{
|
||||
type: 'string',
|
||||
min: 1,
|
||||
max: 64,
|
||||
message: 'Password must be between 1 and 64 characters'
|
||||
}
|
||||
]
|
||||
});
|
||||
Reference in New Issue
Block a user