mirror of
https://git.coolaj86.com/coolaj86/telebit-relay.js.git
synced 2025-02-22 00:58:05 +00:00
more obvious bugfixes
This commit is contained in:
parent
60ee3720e0
commit
f828839b4d
@ -156,7 +156,7 @@ DB.domains._add = function (acc, opts) {
|
||||
, wildcard: opts.wildcard
|
||||
};
|
||||
var pdomain;
|
||||
var parts = name.split('.').map(function (el, i, arr) {
|
||||
var parts = opts.name.split('.').map(function (el, i, arr) {
|
||||
return arr.slice(i).join('.');
|
||||
}).reverse();
|
||||
parts.shift();
|
||||
|
Loading…
x
Reference in New Issue
Block a user