Created
January 7, 2013 11:32
-
-
Save jerith/4474360 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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