Changes to get the current version
This commit is contained in:
1 parent
5a133d0d17
commit
6790b17f86
2 files changed
+33
-6
No files matched your search
@@ -13,6 +13,12 @@ def check():
|
||||
return jsonify(Update().check_version())
|
||||
|
||||
|
||||
@update_bp.route("/get-version", methods=["GET"])
|
||||
def get_version():
|
||||
""" Check the current version """
|
||||
return jsonify(Update().get_current_version())
|
||||
|
||||
|
||||
@update_bp.route("/process", methods=["GET"])
|
||||
def process():
|
||||
""" Check the presence of new version """
|
||||
|
||||
Reference in new issue
Block a user