mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Reorg to put web app in its own directory
This commit is contained in:
parent
e5412e9dd9
commit
76982937a6
@ -9,7 +9,8 @@ import flask
|
|||||||
import requests
|
import requests
|
||||||
from netlib import odict, wsgi
|
from netlib import odict, wsgi
|
||||||
import netlib.http
|
import netlib.http
|
||||||
from . import controller, protocol, tnetstring, filt, script, version, app
|
from . import controller, protocol, tnetstring, filt, script, version
|
||||||
|
from .web import app
|
||||||
from .protocol import http, handle
|
from .protocol import http, handle
|
||||||
from .proxy.config import parse_host_pattern
|
from .proxy.config import parse_host_pattern
|
||||||
|
|
||||||
|
0
libmproxy/web/__init__.py
Normal file
0
libmproxy/web/__init__.py
Normal file
@ -1,7 +1,7 @@
|
|||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
import flask
|
import flask
|
||||||
import os
|
import os
|
||||||
from .proxy import config
|
from ..proxy import config
|
||||||
|
|
||||||
mapp = flask.Flask(__name__)
|
mapp = flask.Flask(__name__)
|
||||||
mapp.debug = True
|
mapp.debug = True
|
Before Width: | Height: | Size: 197 KiB After Width: | Height: | Size: 197 KiB |
Loading…
Reference in New Issue
Block a user