misc/add radio endpoint to repo, prev gitignore'd, WIP

This commit is contained in:
2025-02-09 20:34:11 -05:00
parent 0b2087736a
commit 3ce937ac8e
3 changed files with 319 additions and 5 deletions

View File

@ -37,10 +37,9 @@ class Utilities:
return False
if req_type == 2:
if not key.startswith("PRV-"):
return False
else:
return True
return key.startswith("PRV-")
elif req_type == 4:
return key.startswith("RAD-")
if path.lower().startswith("/xc/") and not key.startswith("XC-"):
return False