Skip to content

Instantly share code, notes, and snippets.

@jerith
Created January 7, 2013 11:32
Show Gist options
  • Select an option

  • Save jerith/4474360 to your computer and use it in GitHub Desktop.

Select an option

Save jerith/4474360 to your computer and use it in GitHub Desktop.
diff --git a/diamondash/server.py b/diamondash/server.py
index ef99019..72ab792 100644
--- a/diamondash/server.py
+++ b/diamondash/server.py
@@ -266,6 +266,11 @@ def static(request):
return File(resource_filename(__name__, 'static'))
+@route('/favicon.ico')
+def favicon(request):
+ return File(resource_filename(__name__, 'static/favicon.png'))
+
+
@route('/<string:name>')
def show_dashboard(request, name):
"""Show a non-shared dashboard page"""
diff --git a/diamondash/static/favicon.png b/diamondash/static/favicon.png
new file mode 100644
index 0000000..988d6b1
Binary files /dev/null and b/diamondash/static/favicon.png differ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment