diff options
Diffstat (limited to 'test/AFB.js')
-rw-r--r-- | test/AFB.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/AFB.js b/test/AFB.js index 4c500b99..953fe96a 100644 --- a/test/AFB.js +++ b/test/AFB.js @@ -21,7 +21,10 @@ if (typeof base != "object") var initial = { base: base.base || "api", - token: initialtoken || base.token || URLSearchParams(window.location.search).get('token') || "HELLO", + token: initialtoken || base.token + || URLSearchParams(window.location.search).get('access_token') + || URLSearchParams(window.location.search).get('token') + || "HELLO", host: base.host || window.location.host, url: base.url || undefined }; |