Fix err forgot to add flask.
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def nocache(resp):
|
|
| 42 |
# request log to verify what the proxy is asking for
|
| 43 |
@app.before_request
|
| 44 |
def _log():
|
| 45 |
-
print("REQ:", request.method, request.path)
|
| 46 |
|
| 47 |
# Home
|
| 48 |
@app.route("/")
|
|
|
|
| 42 |
# request log to verify what the proxy is asking for
|
| 43 |
@app.before_request
|
| 44 |
def _log():
|
| 45 |
+
print("REQ:", flask.request.method, flask.request.path)
|
| 46 |
|
| 47 |
# Home
|
| 48 |
@app.route("/")
|