test
This commit is contained in:
@@ -13,4 +13,9 @@ def send_css(path):
|
||||
def send_js(path):
|
||||
resp = make_response(send_from_directory(os.path.join(config['WEB_APP']['template_folder'], 'static/js'), path), 200)
|
||||
resp.headers['Cache-Control'] = 'public, max-age=31536000'
|
||||
return resp
|
||||
return resp
|
||||
|
||||
|
||||
@webApp.route('/pic/<path:path>')
|
||||
def send_pic(path):
|
||||
return send_from_directory(os.path.join(config['WEB_APP']['template_folder'], 'static/pics'), path), 200
|
||||
Reference in New Issue
Block a user