Enable debug and allow remote connect-src

environments/review-docs-renov-4e893d/deployments/11092
Georg Krause 2022-03-16 10:36:54 +01:00 zatwierdzone przez Marcos Peña
rodzic af78df5663
commit 68ff51c26d
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -19,3 +19,4 @@ STATIC_URL=http://localhost:8000/staticfiles/
# Customize to your needs
POSTGRES_VERSION=11
DEBUG=true

Wyświetl plik

@ -69,7 +69,7 @@ http {
text/x-component
text/x-cross-domain-policy;
add_header Content-Security-Policy "default-src 'self' 'unsafe-eval'; connect-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; object-src 'none'; media-src 'self' data:";
add_header Content-Security-Policy "default-src 'self' 'unsafe-eval'; connect-src 'self' 'unsafe-eval' *; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; object-src 'none'; media-src 'self' data:";
add_header Referrer-Policy "strict-origin-when-cross-origin";
add_header X-Frame-Options "SAMEORIGIN" always;