Skip to content

Commit

Permalink
Merge pull request #36 from davet2001/dev
Browse files Browse the repository at this point in the history
Turn off test mode to actually publish
  • Loading branch information
davet2001 authored Oct 19, 2023
2 parents 10bc872 + fdf258d commit 9dabd6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/builder.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Builder

env:
BUILD_ARGS: "--test"
BUILD_ARGS: ""
MONITORED_FILES: "build.yaml config.yaml Dockerfile rootfs"

on:
Expand Down
2 changes: 2 additions & 0 deletions mitmproxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ RUN \
RUN pip3 install --no-cache-dir --user --upgrade mitmproxy==10.1.1

# patch mitmproxy to allow running with relative paths not in the server root
# Now that https://github.com/mitmproxy/mitmproxy/pull/6411 is merged,
# mitmproxy >10.1.1 should not need the patch lines below.
COPY mitmweb_relpath.patch /mitmweb_relpath.patch
RUN patch -u /root/.local/lib/python3.11/site-packages/mitmproxy/tools/web/templates/index.html -i /mitmweb_relpath.patch
RUN sed -i 's/"\/updates\"/location\.pathname\+"updates"/' /root/.local/lib/python3.11/site-packages/mitmproxy/tools/web/static/app.js
Expand Down

0 comments on commit 9dabd6b

Please sign in to comment.