Skip to content
Snippets Groups Projects
Commit 7366749f authored by Andreas Valder's avatar Andreas Valder
Browse files

added a profiler

parent cb8cd916
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python3
from werkzeug.contrib.profiler import ProfilerMiddleware
from server import app
app.wsgi_app = ProfilerMiddleware(app.wsgi_app, restrictions=[30])
app.run(debug = True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment