migration: preserve startup accounts and system slice
This commit is contained in:
@@ -60,7 +60,7 @@ def _role(method: str, path: str) -> str:
|
||||
|
||||
|
||||
def build() -> dict:
|
||||
text = (ROOT / "server.py").read_text(encoding="utf-8")
|
||||
text = (ROOT / "backend" / "application.py").read_text(encoding="utf-8")
|
||||
method_matches = list(re.finditer(r"^ def do_(GET|POST|DELETE)\(", text, re.MULTILINE))
|
||||
routes = []
|
||||
for index, match in enumerate(method_matches):
|
||||
|
||||
Reference in New Issue
Block a user