diff --git a/service.py b/service.py index 54b4083..629e089 100644 --- a/service.py +++ b/service.py @@ -4,7 +4,6 @@ from flask import Flask, request, redirect, url_for, render_template from converter import meh app = Flask(__name__) -app.debug = True @app.route('/') def fuck_gpl2(): @@ -18,8 +17,3 @@ def fuck_gpl2(): return '404 Not Found', 404 else: return render_template('index.html') - -@app.route('/', methods=['POST', 'PUT']) -def lazy_301(): - url = request.form.get('url') - redirect(url_for('fuck_gpl2'), url=url) \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 46c051b..841d4aa 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,7 +13,9 @@ a Markdown representation of that page.
-Enjoy!
+A Kenneth Reitz project.
+ +