Skip to content

Commit

Permalink
Try to fix the overabundance of profiles
Browse files Browse the repository at this point in the history
and dep updates
  • Loading branch information
ethteck committed Oct 27, 2024
1 parent 373584c commit 88dc54e
Show file tree
Hide file tree
Showing 4 changed files with 796 additions and 752 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ RUN apt-get -y update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*

RUN curl -sSL https://install.python-poetry.org/ | \
POETRY_VERSION=1.8.3 POETRY_HOME=/etc/poetry python3.10 -
POETRY_VERSION=1.8.4 POETRY_HOME=/etc/poetry python3.10 -

COPY --from=nsjail /nsjail/nsjail /bin/nsjail

Expand Down
1 change: 1 addition & 0 deletions backend/coreapp/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def middleware(request: Request) -> Response:
"node-fetch" in request.headers["User-Agent"]
or "undici" in request.headers["User-Agent"]
or "Next.js Middleware" in request.headers["User-Agent"]
or "node" in request.headers["User-Agent"]
):
request.profile = Profile()
return get_response(request)
Expand Down
Loading

0 comments on commit 88dc54e

Please sign in to comment.