Skip to content

Commit

Permalink
Rediriger vers La Carte sur longuevieauxobjets.ademe.fr (#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolok authored Nov 19, 2024
1 parent bf37a46 commit 916bdd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration_tests/core/test_redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_redirect_without_param(client):
url = "/"
response = client.get(url)
assert response.status_code == 301
assert response.url == "https://longuevieauxobjets.ademe.fr"
assert response.url == "https://longuevieauxobjets.ademe.fr/lacarte"


@pytest.mark.django_db
Expand Down
2 changes: 1 addition & 1 deletion qfdmo/views/adresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def direct_access(request):
parts = [reverse("qfdmo:formulaire"), "?" if params else "", params]
return redirect("".join(parts))

return redirect("https://longuevieauxobjets.ademe.fr", permanent=True)
return redirect("https://longuevieauxobjets.ademe.fr/lacarte", permanent=True)


class DigitalMixin:
Expand Down

0 comments on commit 916bdd5

Please sign in to comment.