updated ping end point hardcoded version to call config.APP_Version

This commit is contained in:
ChrispyBacon-dev 2025-08-12 19:49:30 +02:00
parent 2af5a8d51e
commit e3a1fec76b

View file

@ -596,7 +596,7 @@ def tunnel_dns_records(tunnel_id):
@bp.route('/ping')
def ping():
return jsonify({ "status": "ok", "timestamp": int(time.time()), "version": "1.7.1",
return jsonify({ "status": "ok", "timestamp": int(time.time()), "version": "config.APP_VERSION",
"protocol": request.environ.get('wsgi.url_scheme', 'unknown')})
@bp.route('/debug')