mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
a2261e3cf0
Which lets us enable the apps again, now running from flow.py
17 lines
324 B
Python
17 lines
324 B
Python
import flask
|
|
|
|
mapp = flask.Flask(__name__)
|
|
mapp.debug = True
|
|
|
|
def master():
|
|
return flask.request.environ["mitmproxy.master"]
|
|
|
|
@mapp.route("/")
|
|
def index():
|
|
return flask.render_template("index.html", section="home")
|
|
|
|
|
|
@mapp.route("/certs")
|
|
def certs():
|
|
return flask.render_template("certs.html", section="certs")
|