From 434ba6c360208b91d848561e311fc66543a38f2e Mon Sep 17 00:00:00 2001 From: "Francisco J. Solis-Munoz" Date: Tue, 22 Sep 2020 09:43:36 -0500 Subject: [PATCH] Fixed content security policy for local development to same IP as server.js --- config/config.example.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.example.js b/config/config.example.js index 3826a7291..fabddce26 100644 --- a/config/config.example.js +++ b/config/config.example.js @@ -46,7 +46,7 @@ module.exports = { * cryptpad/docs/example.nginx.conf (see the $main_domain variable) * */ - httpUnsafeOrigin: 'http://localhost:3000/', + httpUnsafeOrigin: 'http://127.0.0.1:3000/', /* httpSafeOrigin is the URL that is used for the 'sandbox' described above. * If you're testing or developing with CryptPad on your local machine then