mirror of
https://git.coolaj86.com/coolaj86/telebit.js.git
synced 2025-03-03 07:00:45 +00:00
support older servers
This commit is contained in:
parent
5491b8d91d
commit
5c28bff26b
@ -199,7 +199,7 @@ common.api.token = function (state, handlers) {
|
||||
});
|
||||
}
|
||||
|
||||
if (dir) {
|
||||
if (dir && dir.api_host) {
|
||||
handlers.directory(dir, afterDir);
|
||||
} else {
|
||||
// backwards compat
|
||||
|
Loading…
x
Reference in New Issue
Block a user