Merge pull request #10655 from AminovE99/feat/json_render
feat: Add json as a non-static format
This commit is contained in:
commit
f70024e4b1
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