Browse Source

deleted obsolete flask main entrance module

Roland Haroutiounian 9 years ago
parent
commit
a6c6a5c98d
1 changed files with 0 additions and 20 deletions
  1. 0
    20
      lodel_web.py

+ 0
- 20
lodel_web.py View File

@@ -1,20 +0,0 @@
1
-# -*- coding: utf-8 -*-
2
-
3
-from flask import Flask
4
-from flask import request
5
-
6
-import Router
7
-
8
-app = Flask(__name__)
9
-
10
-
11
-@app.route('/', defaults={'path': ''})
12
-@app.route('/<path:path>')
13
-def index(path):
14
-    url_elements = path.split('/')
15
-    url_arguments = request.args
16
-    return "%s <br/> %s" % (url_elements, url_arguments)
17
-
18
-
19
-if __name__ == '__main__':
20
-    app.run()

Loading…
Cancel
Save