diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-01-04 17:23:10 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-01-04 17:23:10 +0100 |
commit | 599de74536b243c67d99c92a2e25eb1b155d58ee (patch) | |
tree | 32c643a177f5bdcf1fb52cec94bbad5bc9f786d3 /main.py | |
parent | bcaccefc8bea56c99b21a63bcb6b29f358174bf1 (diff) |
flask + react werkt
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +from flask import Flask + +app = Flask(__name__) + +@app.route("/test") +def testroute(): + return "It's working!" + def main(): print("Hello world!") |