Skip to content

Commit

Permalink
Add a version route to SideJITServer
Browse files Browse the repository at this point in the history
  • Loading branch information
nythepegasus committed Apr 12, 2024
1 parent 5953397 commit 34b95a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SideJITServer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ def devices():
return {"ERROR": "Could not find any device!"}
return {d.name: d.udid for d in devs}

@app.route("/ver/")
def route_version():
return {"pymobiledevice3": pymd_ver, "SideJITServer": __version__}

@app.route("/re/")
def refresh_devices():
refresh_devs()
Expand Down

0 comments on commit 34b95a7

Please sign in to comment.