Selaa lähdekoodia

[minor] sitemap.xml is also programmable

version-14
Rushabh Mehta 8 vuotta sitten
vanhempi
commit
50d06d1202
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      frappe/website/render.py

+ 1
- 1
frappe/website/render.py Näytä tiedosto

@@ -79,7 +79,7 @@ def is_static_file(path):
if ('.' not in path):
return False
extn = path.rsplit('.', 1)[-1]
if extn in ('html', 'md', 'js'):
if extn in ('html', 'md', 'js', 'xml'):
return False

for app in frappe.get_installed_apps():


Ladataan…
Peruuta
Tallenna