Commit 0a440fb39f79c93edc71e20535af9e6a30834be2
1 parent
f07947a5
Add legacy frontend server entrypoint
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,12 @@ |
| 1 | +#!/usr/bin/env python3 | |
| 2 | +"""Backward-compatible frontend server entrypoint.""" | |
| 3 | + | |
| 4 | +from __future__ import annotations | |
| 5 | + | |
| 6 | +import runpy | |
| 7 | +from pathlib import Path | |
| 8 | + | |
| 9 | + | |
| 10 | +if __name__ == "__main__": | |
| 11 | + target = Path(__file__).resolve().parent / "frontend" / "frontend_server.py" | |
| 12 | + runpy.run_path(str(target), run_name="__main__") | ... | ... |
-
mentioned in commit b3ffdc72967001c04217b9f9e4c172e71be19668