aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-04 02:50:38 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-04 02:56:06 +0300
commit07beafa9de8f7740bb6db9244c251a2e1d574e84 (patch)
treecc306bf76015fe8b4db02a0984abaaf80f1a6368 /server.py
parentpacman: add dependency on procps-ng (diff)
downloadlinux-status-07beafa9de8f7740bb6db9244c251a2e1d574e84.tar.gz
linux-status-07beafa9de8f7740bb6db9244c251a2e1d574e84.zip
update README, add some comments, etc.
Diffstat (limited to '')
-rwxr-xr-xserver.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/server.py b/server.py
index a76d2ca..35099cf 100755
--- a/server.py
+++ b/server.py
@@ -5,6 +5,9 @@
# For details, see https://github.com/egor-tensin/linux-status.
# Distributed under the MIT License.
+# This script launches a HTTP server and uses app.py for processing a set of
+# custom URLs. See that file for the reasons behind this.
+
import http.server
from app import Request