gcm encryption
This commit is contained in:
parent
a7fcb1a44f
commit
50995238bd
4 changed files with 30 additions and 32 deletions
|
@ -171,5 +171,5 @@ app.listen(conf.listen_port, () => {
|
|||
});
|
||||
|
||||
const validateID = route_id => {
|
||||
return route_id.match(/^[0-9a-fA-F]{32}$/) !== null;
|
||||
return route_id.match(/^[0-9a-fA-F]{24}$/) !== null;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue