aboutsummaryrefslogtreecommitdiffstats
path: root/pasteme.py
diff options
context:
space:
mode:
Diffstat (limited to 'pasteme.py')
-rwxr-xr-xpasteme.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pasteme.py b/pasteme.py
index 68a93f3..57fb1f0 100755
--- a/pasteme.py
+++ b/pasteme.py
@@ -32,6 +32,14 @@ def route_paste_post():
def route_static(path):
return bottle.static_file(path, root='static')
+@bottle.route('/favicon.ico')
+def route_favicon(path):
+ return bottle.static_file('favicon.ico', root='static')
+
+@bottle.route('/robots.txt')
+def route_favicon(path):
+ return bottle.static_file('robots.txt', root='static')
+
@bottle.route('/<pid>')
@bottle.route('/<pid>/<pformat>')
def route_paste_get(pid, pformat='colored'):