prefix urls
This commit is contained in:
parent
b7011962be
commit
5d58d484e0
@ -19,13 +19,13 @@ UPLOAD_LOG_FILENAME = os.path.join(DIR, "upload-dump-log.json")
|
|||||||
DEBUG = False # if false, don't publish error messages
|
DEBUG = False # if false, don't publish error messages
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/last_stable_version")
|
@bp.route("/scodoc-installmgr/last_stable_version")
|
||||||
def last_stable_version():
|
def last_stable_version():
|
||||||
# LAST_RELEASE_TAG=$(curl "$GITEA_RELEASE_URL" | jq ".[].tag_name" | tr -d -c "0-9.\n" | sort --version-sort | tail -1)
|
# LAST_RELEASE_TAG=$(curl "$GITEA_RELEASE_URL" | jq ".[].tag_name" | tr -d -c "0-9.\n" | sort --version-sort | tail -1)
|
||||||
return "9.0.30"
|
return "9.0.30"
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/upload_dump", methods=["POST"])
|
@bp.route("/scodoc-installmgr/upload_dump", methods=["POST"])
|
||||||
def upload_dump():
|
def upload_dump():
|
||||||
"""
|
"""
|
||||||
Réception d'un fichier de dump uploadé
|
Réception d'un fichier de dump uploadé
|
||||||
@ -133,7 +133,7 @@ def increment():
|
|||||||
return val
|
return val
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/version", methods=["GET"])
|
@bp.route("/scodoc-installmgr/version", methods=["GET"])
|
||||||
def version():
|
def version():
|
||||||
"""
|
"""
|
||||||
echo -e "DATE\tIP\tSVN\tSERIAL\tOP" > installs.log; chown scodoc installs.log
|
echo -e "DATE\tIP\tSVN\tSERIAL\tOP" > installs.log; chown scodoc installs.log
|
||||||
|
Loading…
Reference in New Issue
Block a user