summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
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>"