Browse Source

no more api/2

Signed-off-by: fbt <fbt@fleshless.org>
master 1.17.1
Jack L. Frost 2 years ago
parent
commit
01478630e8
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      ufw

+ 1
- 3
ufw View File

@ -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


Loading…
Cancel
Save