aboutsummaryrefslogtreecommitdiff
path: root/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'server.py')
-rw-r--r--server.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/server.py b/server.py
index 13e5c58..54813dd 100644
--- a/server.py
+++ b/server.py
@@ -1,3 +1,20 @@
+# Copyright (C) 2022 Yuchen Pei.
+#
+# This file is part of ptvtt.
+#
+# ptvtt is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# ptvtt is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General
+# Public License for more details.
+
+# You should have received a copy of the GNU Affero General Public
+# License along with ptvtt. If not, see <https://www.gnu.org/licenses/>.
+
from wsgiref.simple_server import make_server
from urllib.parse import parse_qs
import ptv_client