mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-05-11 23:32:51 +08:00
Optionally take the mitmproxy path for doc rendering from a env variable.
This commit is contained in:
@@ -5,7 +5,7 @@ import countershape.template
|
||||
sys.path.insert(0, "..")
|
||||
from libmproxy import filt, version
|
||||
|
||||
MITMPROXY_SRC = os.path.abspath("..")
|
||||
MITMPROXY_SRC = os.environ.get("MITMPROXY_SRC", os.path.abspath(".."))
|
||||
ns.VERSION = version.VERSION
|
||||
|
||||
if ns.options.website:
|
||||
|
||||
Reference in New Issue
Block a user