File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22#
33# Copyright (C) 2018-2020 CERN.
4+ # Copyright (C) 2025 Graz University of Technology.
45#
56# invenio-app-ils is free software; you can redistribute it and/or modify it
67# under the terms of the MIT License; see LICENSE file for more details.
@@ -296,10 +297,10 @@ def _(x):
296297SESSION_COOKIE_SECURE = True
297298SESSION_COOKIE_SAMESITE = "Lax"
298299#: Since HAProxy and Nginx route all requests no matter the host header
299- #: provided, the allowed hosts variable is set to localhost. In production it
300+ #: provided, the trusted hosts variable is set to localhost. In production it
300301#: should be set to the correct host and it is strongly recommended to only
301302#: route correct hosts to the application.
302- APP_ALLOWED_HOSTS = ["localhost" , "127.0.0.1" ]
303+ TRUSTED_HOSTS = ["localhost" , "127.0.0.1" ]
303304
304305#: Single Page Application host and routes, useful in templates/emails
305306SPA_HOST = "https://127.0.0.1:3000"
You can’t perform that action at this time.
0 commit comments