diff --git a/ufw b/ufw index 49b920d..11283be 100755 --- a/ufw +++ b/ufw @@ -51,7 +51,6 @@ usage() { cfg_url_regex cfg_tmp_dir cfg_service_url - cfg_api_path EOF } @@ -263,7 +262,7 @@ get_my_ip() { login() { declare api_response - api_response=$( curl -sl "$cfg_service_url/$cfg_api_path/get_login_token?login=$login&format=json" ) + api_response=$( curl -sl "$cfg_service_url/token_request.json?login=$login" ) if get_api_status <<< "$api_response"; then printf 'Check your email.\n' @@ -325,7 +324,6 @@ main() { cfg_service_url='https://8fw.me' cfg_screenshot_ext='png' cfg_max_filesize='200M' - cfg_api_path='/api/2' flag_shortlink=0 flag_directlink=1