From dbfc832404432eb336e18718163ce4ff52f9bcb8 Mon Sep 17 00:00:00 2001 From: faulty Date: Wed, 1 Feb 2023 12:09:49 +0100 Subject: [PATCH] fix cp? --- custom/cryptpad/config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/custom/cryptpad/config.js b/custom/cryptpad/config.js index 4bf7adb..4d86ab3 100644 --- a/custom/cryptpad/config.js +++ b/custom/cryptpad/config.js @@ -46,7 +46,7 @@ module.exports = { * cryptpad/docs/example.nginx.conf (see the $main_domain variable) * */ - httpUnsafeOrigin: 'https://pad.ixvd.net', + httpUnsafeOrigin: 'http://localhost: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 @@ -67,7 +67,7 @@ module.exports = { * * CUSTOMIZE AND UNCOMMENT THIS FOR PRODUCTION INSTALLATIONS. */ - // httpSafeOrigin: "https://some-other-domain.xyz", + httpSafeOrigin: "https://pad.ixvd.net", /* httpAddress specifies the address on which the nodejs server * should be accessible. By default it will listen on 127.0.0.1 @@ -75,7 +75,7 @@ module.exports = { * all addresses, including IPv6, set this to '::'. * */ - //httpAddress: '::', + httpAddress: '::', /* httpPort specifies on which port the nodejs server should listen. * By default it will serve content over port 3000, which is suitable @@ -83,7 +83,7 @@ module.exports = { * which will proxy websocket traffic to your node server. * */ - //httpPort: 3000, + httpPort: 3000, /* httpSafePort allows you to specify an alternative port from which * the node process should serve sandboxed assets. The default value is