summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-15 21:39:13 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-15 21:40:15 +0800
commit8b287fb77abf0da54de387fcebf67ca7daa5c6c3 (patch)
treea0e24fe46c770bc5ec1d57b2e64cba66c30e807f /index.py
parent88a940f35d5a4d88050e7b9e5073f3514c5d44d0 (diff)
updated
Diffstat (limited to 'index.py')
-rw-r--r--index.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/index.py b/index.py
new file mode 100644
index 0000000..9e12c53
--- /dev/null
+++ b/index.py
@@ -0,0 +1,8 @@
+from flask import Flask
+from main import main as rcommand
+
+app = Flask(__name__)
+
+@app.route("/")
+def main():
+ return f"<p>{rcommand()}</p>"