astrosonic / sanctuary

A secure synchronous lightweight chatroom with zero logging and total transience
GNU General Public License v3.0
54 stars 11 forks source link

Dont rely on the builting Flask Development server. #53

Open laundmo opened 4 years ago

laundmo commented 4 years ago

you should never serve a page thats supposed to be used with the Falsk Development server.

The development server is provided by Werkzeug for convenience, but is not designed to be particularly efficient, stable, or secure.

an alternative to Flask could be Sanic, which is similar to Flask but based on asyncio, and has a builtin server that works for deployment.