✨ Add json render
Implemented opportunity to use jinja code inside json files.
This commit is contained in:
parent
2f14adb0b5
commit
80678534f2
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ def is_static_file(path):
|
|||
if ('.' not in path):
|
||||
return False
|
||||
extn = path.rsplit('.', 1)[-1]
|
||||
if extn in ('html', 'md', 'js', 'xml', 'css', 'txt', 'py'):
|
||||
if extn in ('html', 'md', 'js', 'xml', 'css', 'txt', 'py', 'json'):
|
||||
return False
|
||||
|
||||
for app in frappe.get_installed_apps():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue