Skip to content

Commit

Permalink
fix http links being rendered in template, i think
Browse files Browse the repository at this point in the history
the form submit path is being rendered with an http:// URL instead of an
https:// URL which is bad and causes a warning to be shown by the
browser. for reasons i will not enumerate i think this will fix it
  • Loading branch information
natanlao committed Feb 2, 2024
1 parent 48e9e96 commit 16c9db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ COPY templates/ /app/templates
COPY yaas.py /app/main.py

USER appuser
CMD ["uvicorn", "main:app", "--forwarded-allow-ips", "--host", "0.0.0.0", "--port", "8123"]
CMD ["uvicorn", "main:app", "--proxy-headers", "--forwarded-allow-ips", "--host", "0.0.0.0", "--port", "8123"]

0 comments on commit 16c9db4

Please sign in to comment.