set the app config 'SEND_FILE_MAX_AGE_DEFAULT' to be True to resolve image loading issues'

This commit is contained in:
tsb1995 2020-01-01 12:44:27 -08:00
parent b09a6bda04
commit 6f32a96b8f
4 changed files with 1 additions and 0 deletions

Binary file not shown.

1
app.py
View File

@ -8,6 +8,7 @@ matplotlib.use('Agg')
from matplotlib import pyplot as plt
app = Flask(__name__)
app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 1
# Convert our commonly used variables into sympy symbols
x, y, z, t, X, Y, Z, T = symbols('x y z t X Y Z T')

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 16 KiB