Flask Production Server

When running a python Flask app using resin.io (on Raspberry Pi as shown in the tutorials) is it being served by the Flask development server or by a resin.io web server? If it’s using the development server would it be simple to change it to run with something else like lightpd?

It is running on the flask development server, you should be able to easily switch it out for something else.