Improved messages for errors, removed apiMirrors

This commit is contained in:
Dylan
2022-09-28 19:22:41 +01:00
parent bbcb3ceb05
commit 403b82d7fe
5 changed files with 44 additions and 32 deletions

View File

@ -11,8 +11,7 @@ if ('RUNNING_SERVERLESS' in os.environ and os.environ['RUNNING_SERVERLESS'] == '
"appname": os.environ["VXTWITTER_APP_NAME"],
"repo": os.environ["VXTWITTER_REPO"],
"url": os.environ["VXTWITTER_URL"],
"combination_method": os.environ["VXTWITTER_COMBINATION_METHOD"], # can either be 'local' or a URL to a server handling requests in the same format
"apiMirrors":[]
"combination_method": os.environ["VXTWITTER_COMBINATION_METHOD"] # can either be 'local' or a URL to a server handling requests in the same format
}
}
else:
@ -28,8 +27,7 @@ else:
"appname": "vxTwitter",
"repo": "https://github.com/dylanpdx/BetterTwitFix",
"url": "https://vxtwitter.com",
"combination_method": "local", # can either be 'local' or a URL to a server handling requests in the same format
"apiMirrors":[]
"combination_method": "local" # can either be 'local' or a URL to a server handling requests in the same format
}
}