flaskcode
flaskcode copied to clipboard
A web based code editor on python flask framework.
cache_timeout argument is removed from flask modules called send_file(). This argument was causing the following error in the Flask 2.2.3: ```console TypeError: send_file() got an unexpected keyword argument 'cache_timeout' ```
Hi, Great project. Can you tell us how to sepcify `allowed_extensions` in a flask app?
This error raises in Flask2.2.3: ```console response = send_file(file_path, mimetype='text/plain', cache_timeout=0) TypeError: send_file() got an unexpected keyword argument 'cache_timeout' ``` I resolved this error in this [pull req](https://github.com/sujeetkv/flaskcode/pull/15)
Bumps [flask](https://github.com/pallets/flask) from 1.1.2 to 2.3.2. Release notes Sourced from flask's releases. 2.3.2 This is a security fix release for the 2.3.x release branch. Security advisory: https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq, CVE-2023-30861 Changes: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-2...
When sending the file to the browser, it has to be new, it is currently achieved by this: ```py response = send_file(file_path, mimetype='text/plain', cache_timeout=0) ``` The latest **stable version** of...
![image](https://user-images.githubusercontent.com/38417576/193200816-3425be37-ee81-4f01-b4c5-ece78bcc46cb.png) ![image](https://user-images.githubusercontent.com/38417576/193200904-43ae1c8f-31cd-4244-aa58-c6c095a8c89c.png)
Hi, Why get this on production env | behind nginx proxy with basic config : ![image](https://user-images.githubusercontent.com/84590573/191509519-645a23dd-c4ff-4cb1-894d-1de238e9a6a0.png) Issue : ![image](https://user-images.githubusercontent.com/84590573/191509732-247f6dbd-cc17-4902-850f-d13f23200624.png) On Pycharm Dev env works fine.
Still need to change the version in the configuration
Realised this project was last updated in 2021 and there was an update for the editor just 4 days ago. The current version is a bit outdated in comparison to...