Skip to content

Commit

Permalink
Merge pull request #11525 from camptocamp/backport/11524-to-master
Browse files Browse the repository at this point in the history
[Backport master] Force to use https in dev mode
  • Loading branch information
sbrunner authored Nov 12, 2024
2 parents 7d7d445 + 8042730 commit 5981e70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
# - PRINT_URL=http://print:8080/print/
- PYTHONWARNINGS=default::DeprecationWarning
- SQLALCHEMY_WARN_20=true
- C2CWSGIUTILS_FORCE_PROTO=https
ports:
- 5678:5678 # For remote debugging using Visual Studio Code

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_desktop_alt(url: str) -> None:
assert response.status_code == 200, response.text

assert re.search(
r'<script src="https?://front/static-ngeo-dist/desktop-.*\.js" crossorigin="anonymous"></script>',
r'<script src="https://front/static-ngeo-dist/desktop-.*\.js" crossorigin="anonymous"></script>',
response.text,
), response.text
assert re.search(r'<html lang="{{"{{mainCtrl.lang}}"}}" ', response.text), response.text
Expand Down

0 comments on commit 5981e70

Please sign in to comment.