summaryrefslogtreecommitdiff
path: root/sw/ap.py
diff options
context:
space:
mode:
authorTom Harley2021-07-03 00:18:13 +0000
committerTom Harley2021-07-03 00:18:13 +0000
commit7c5c6c52250ca57257ab4af2cc9cdf4425595ec0 (patch)
treed36019286125bf984e0c267645d53ff562533ebf /sw/ap.py
downloadswap-7c5c6c52250ca57257ab4af2cc9cdf4425595ec0.tar.gz
swap-7c5c6c52250ca57257ab4af2cc9cdf4425595ec0.zip

Initial commit

Diffstat (limited to 'sw/ap.py')
-rw-r--r--sw/ap.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/ap.py b/sw/ap.py
new file mode 100644
index 0000000..c3301f2
--- /dev/null
+++ b/sw/ap.py
@@ -0,0 +1,9 @@
+from flask import Blueprint
+
+bp = Blueprint("ap", __name__)
+
+bp.route("/u/<user>", methods=["GET"])
+
+
+def get_user(user):
+ return 500