-
-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any instruction on how to self host mitm? #242
Comments
You need to copy over /mitm.html and /sw.js into your public folder and assign You are most likely getting an error that sw.js is not loading. |
If you are using a Python server locally |
Would you like to submit a PR? |
OK, I'll give a try. |
I would like to reopen this conversation to ask if it's possible to bundle the 'mitm.html' file instead of accessing it through a URL. I'm creating a library using StreamSaver and would like to store the 'mitm.html' file in my assets in order to load it in the library.
Any idea if this is possible? |
I use this package in an angular project, everything works fine in dev env.
I need to deploy to a production environment isolated from the Internet, the production environment cannot access github.io
I am new to javascript, and i have tried to clone the code and self host the mitm.html with a local python https server.
after exec the python script, i can open the https://localhost:4443/mitm.html in browser.
I also config the streamSaver.mitm='https://localhost:4443/mitm.html'. But when i try to write the fetch stream to disk, nothing happened.
Any help or instruction about self host mitm?
The text was updated successfully, but these errors were encountered: