mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 11:17:24 +00:00
Optionally take the mitmproxy path for doc rendering from a env variable.
This commit is contained in:
parent
bd684d4540
commit
64be9b1a8a
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue