Browse Source

Remove content security policy for peertube

Bob Mottram 7 years ago
parent
commit
0a5af0d06a
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-app-peertube

+ 3
- 0
src/freedombone-app-peertube View 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