Explorar el Código

Try to fix pleroma mixed content warnings

Bob Mottram hace 7 años
padre
commit
1e90417964
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/freedombone-app-pleroma

+ 2
- 2
src/freedombone-app-pleroma Ver fichero

@@ -47,7 +47,7 @@ PLEROMA_CODE=
47 47
 PLEROMA_PORT=4000
48 48
 PLEROMA_ONION_PORT=8011
49 49
 PLEROMA_REPO="https://git.pleroma.social/pleroma/pleroma.git"
50
-PLEROMA_COMMIT='312a8783f8dbf563ea9d5af3cc7991ca553dc286'
50
+PLEROMA_COMMIT='59a76ea464998476f8c4814324647f4ae4a7f2cb'
51 51
 PLEROMA_ADMIN_PASSWORD=
52 52
 PLEROMA_DIR=/etc/pleroma
53 53
 PLEROMA_SECRET_KEY=""
@@ -1019,7 +1019,7 @@ function install_pleroma {
1019 1019
         function_check nginx_security_options
1020 1020
         nginx_security_options "$PLEROMA_DOMAIN_NAME"
1021 1021
 
1022
-        { echo '  add_header Strict-Transport-Security max-age=15768000;';
1022
+        { echo '  add_header Strict-Transport-Security max-age=0;';
1023 1023
           echo '';
1024 1024
           echo '  # Logs';
1025 1025
           echo '  access_log /dev/null;';