Board: Decomp view (progress tiers, function inspector, next up per band, deferred) and RE tools in Health; Verified tier from the emulator
This commit is contained in:
1 parent
a9efc2e5c5
commit
87631bec52
5 files changed
+331
-6
No files matched your search
@@ -330,6 +330,11 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
||||
"stopped": any(h.stopped(a) for a in h.project.ai_names)})
|
||||
return self._reply(200, out)
|
||||
h, lock = REGISTRY.get(name)
|
||||
if path.startswith("/api/decomp/"):
|
||||
# its own connection and lock: these answers take seconds and must not hold up the chat
|
||||
from . import decomp_api
|
||||
status, body = decomp_api.handle(h.project, path, query)
|
||||
return self._reply(status, body)
|
||||
if path.startswith("/files/"):
|
||||
filename = unquote(path[len("/files/"):])
|
||||
if not re.fullmatch(r"[0-9a-f]{12}-[A-Za-z0-9._-]{1,80}", filename):
|
||||
|
||||
Reference in new issue
Block a user