Skip to content

Commit 1a51837

Browse files
author
Peter Bengtsson
authored
fixes bug 1359505 - tecken favicon (mozilla-services#50)
1 parent 3c96b8b commit 1a51837

File tree

6 files changed

+18
-2
lines changed

6 files changed

+18
-2
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,13 @@ Now a development server should be available at `http://localhost:8000`.
2424
To test the symbolication run:
2525

2626
curl -d '{"stacks":[[[0,11723767],[1, 65802]]],"memoryMap":[["xul.pdb","44E4EC8C2F41492B9369D6B9A059577C2"],["wntdll.pdb","D74F79EB1F8D4A45ABCD2F476CCABACC2"]],"version":4}' http://localhost:8000
27+
28+
29+
The Logo
30+
--------
31+
32+
![logo](logo.png "The Logo")
33+
34+
The [logo](https://www.iconfinder.com/icons/118754/ampersand_icon) comes from
35+
[P.J. Onori](http://www.somerandomdude.com/) and is licensed under
36+
[Attribution-Non-Commercial 3.0 Netherlands](http://creativecommons.org/licenses/by-nc/3.0/nl/deed.en_GB).

favicons/favicon-16x16.png

943 Bytes
Loading

favicons/favicon-32x32.png

1.56 KB
Loading

favicons/favicon.ico

14.7 KB
Binary file not shown.

logo.png

19 KB
Loading

tecken/urls.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# This Source Code Form is subject to the terms of the Mozilla Public
22
# License, v. 2.0. If a copy of the MPL was not distributed with this
33
# file, you can obtain one at http://mozilla.org/MPL/2.0/.
4+
5+
import os
6+
47
from django.conf import settings
58
from django.conf.urls import include, url
6-
# from django.contrib.auth.decorators import login_required
79
from django.views import generic, static
810

911
from . import views
@@ -20,12 +22,16 @@
2022
include('tecken.symbolicate.urls', namespace='symbolicate')
2123
),
2224

23-
# contribute.json url
2425
url(
2526
r'^(?P<path>contribute\.json)$',
2627
static.serve,
2728
{'document_root': settings.BASE_DIR}
2829
),
30+
url(
31+
r'^(?P<path>favicon.ico)$',
32+
static.serve,
33+
{'document_root': os.path.join(settings.BASE_DIR, 'favicons')}
34+
),
2935
url(r'^404/$', generic.TemplateView.as_view(template_name='404.html')),
3036
url(r'^500/$', generic.TemplateView.as_view(template_name='500.html')),
3137
]

0 commit comments

Comments
 (0)