nuclei-js-common/api/tqt_api#
setupAPI()#
Parameters#
| Parameter | Type |
|---|---|
baseURL? |
string |
Returns#
void
ABS_BASE_TQT_URL#
api#
API_TIMEOUT_MS#
Requests must fail, not hang. Without an explicit timeout axios defaults to
0 (wait forever), so on a filtered or black-holing network the login /
license calls never settle and the UI parks on a spinner indefinitely.
BASE_TQT_URL#
setAuthErrorHandler#
Parameters#
| Parameter | Type |
|---|---|
cb |
() => void |
Returns#
() => void