Skip to content

Commit 74061ea

Browse files
Add .webmanifest to cache control exceptions
1 parent d2e9cc7 commit 74061ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/routes/system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def static_files(filename):
3535
response = send_from_directory('public', filename)
3636
if ext in ('.js', '.css'):
3737
response.cache_control.max_age = 31536000
38-
elif ext in ('.woff', '.woff2', '.ttf', '.png', '.jpg', '.jpeg', '.gif', '.svg', '.ico'):
38+
elif ext in ('.woff', '.woff2', '.ttf', '.png', '.jpg', '.jpeg', '.gif', '.svg', '.ico', '.webmanifest'):
3939
response.cache_control.max_age = 86400
4040
return response
4141

0 commit comments

Comments
 (0)