aboutsummaryrefslogtreecommitdiffstats
path: root/example.py
diff options
context:
space:
mode:
Diffstat (limited to 'example.py')
-rw-r--r--example.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/example.py b/example.py
deleted file mode 100644
index 1fd8fcd..0000000
--- a/example.py
+++ /dev/null
@@ -1,19 +0,0 @@
-from flask import Flask
-app = Flask(__name__)
-
-@app.route("/")
-def hello():
- return "Hello World!"
-
-@app.route("/about/<path:path>/hello")
-def hello1(path):
- return "about1"
-
-@app.route("/about")
-def hello2():
- return "about2"
-
-print app.url_map
-
-if __name__ == "__main__":
- app.run(host="0.0.0.0", port=8888)