mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 03:07:18 +00:00
16 lines
324 B
Python
16 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")
|