Sfoglia il codice sorgente

Remove content security policy for peertube

Bob Mottram 7 anni fa
parent
commit
0a5af0d06a
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      src/freedombone-app-peertube

+ 3
- 0
src/freedombone-app-peertube Vedi File

408
     echo '  }' >> $peertube_nginx_file
408
     echo '  }' >> $peertube_nginx_file
409
     echo '}' >> $peertube_nginx_file
409
     echo '}' >> $peertube_nginx_file
410
 
410
 
411
+    # CSP currently causes an error
412
+    sed -i '/Content-Security-Policy/d' $peertube_nginx_file
413
+
411
     function_check create_site_certificate
414
     function_check create_site_certificate
412
     create_site_certificate $PEERTUBE_DOMAIN_NAME 'yes'
415
     create_site_certificate $PEERTUBE_DOMAIN_NAME 'yes'
413
 
416