feat: add example custom SVR.JS configuration validator
This commit is contained in:
parent
2d0cd2b6fd
commit
02053b73f9
1 changed files with 6 additions and 1 deletions
|
@ -51,7 +51,12 @@ module.exports.commands = {
|
|||
// Uncomment, if you want to handle proxy requests
|
||||
//module.exports.proxy = (req, socket, head, logFacilities, config, next) => {
|
||||
// next(); // Invoke other proxy handlers
|
||||
//}
|
||||
//};
|
||||
|
||||
// Uncomment, if you use custom SVR.JS configuration properties in the mod
|
||||
//module.exports.configValidators = {
|
||||
// aNumber: (value) => typeof value === "string"
|
||||
//};
|
||||
|
||||
// IPC listener for main process
|
||||
// Control messages received by main process begin with 0x12 control character
|
||||
|
|
Loading…
Reference in a new issue