forked from orbit-oss/flask
Fixed a failing testcase
This commit is contained in:
parent
cf1641e5be
commit
34bbd3100b
1 changed files with 3 additions and 1 deletions
|
|
@ -726,7 +726,9 @@ class _PackageBoundObject(object):
|
||||||
|
|
||||||
.. versionadded:: 0.9
|
.. versionadded:: 0.9
|
||||||
"""
|
"""
|
||||||
return {}
|
options = {}
|
||||||
|
options['cache_timeout'] = current_app.config['SEND_FILE_MAX_AGE_DEFAULT']
|
||||||
|
return options
|
||||||
|
|
||||||
def send_static_file(self, filename):
|
def send_static_file(self, filename):
|
||||||
"""Function used internally to send static files from the static
|
"""Function used internally to send static files from the static
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue