diff --git a/requirements.txt b/requirements.txt index ecb4232..8dab00d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ Flask==2.3.2 -flask-cors \ No newline at end of file +flask-cors +python-dotenv==1.0.0 \ No newline at end of file diff --git a/server.py b/server.py index 93a8560..5cbb026 100644 --- a/server.py +++ b/server.py @@ -64,7 +64,7 @@ def font_file(): with open(file_name, 'rb') as bites: response = make_response(send_file( io.BytesIO(bites.read()), - attachment_filename=os.path.basename(file_name), + download_name=os.path.basename(file_name), mimetype='application/octet-stream' ))