瀏覽代碼

Remove content security policy for peertube

Bob Mottram 7 年之前
父節點
當前提交
0a5af0d06a
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      src/freedombone-app-peertube

+ 3
- 0
src/freedombone-app-peertube 查看文件

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