|
|
@ -2,7 +2,7 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
globals module
|
|
|
|
globals module
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
var domain = 'http://localhost:3000/';
|
|
|
|
var _domain = 'http://localhost:3000/';
|
|
|
|
|
|
|
|
|
|
|
|
// You can `kill -USR2` the node process and it will write out a heap dump.
|
|
|
|
// You can `kill -USR2` the node process and it will write out a heap dump.
|
|
|
|
// If your system doesn't support dumping, comment this out and install with
|
|
|
|
// If your system doesn't support dumping, comment this out and install with
|
|
|
@ -15,7 +15,7 @@ var domain = 'http://localhost:3000/';
|
|
|
|
|
|
|
|
|
|
|
|
// we prepend a space because every usage expects it
|
|
|
|
// we prepend a space because every usage expects it
|
|
|
|
// requiring admins to preserve it is unnecessarily confusing
|
|
|
|
// requiring admins to preserve it is unnecessarily confusing
|
|
|
|
domain = ' ' + domain;
|
|
|
|
var domain = ' ' + _domain;
|
|
|
|
module.exports = {
|
|
|
|
module.exports = {
|
|
|
|
|
|
|
|
|
|
|
|
// the address you want to bind to, :: means all ipv4 and ipv6 addresses
|
|
|
|
// the address you want to bind to, :: means all ipv4 and ipv6 addresses
|
|
|
@ -137,34 +137,27 @@ module.exports = {
|
|
|
|
/* Limits, Donations, Subscriptions and Contact
|
|
|
|
/* Limits, Donations, Subscriptions and Contact
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* By default, CryptPad limits every registered user to 50MB of storage. It also shows a
|
|
|
|
* By default, CryptPad limits every registered user to 50MB of storage. It also shows a
|
|
|
|
* donate button which allows for making a donation to support CryptPad development.
|
|
|
|
* subscribe button which allows them to upgrade to a paid account. We handle payment,
|
|
|
|
|
|
|
|
* and keep 50% of the proceeds to fund ongoing development.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* You can either:
|
|
|
|
* You can:
|
|
|
|
* A: Leave it exactly as it is.
|
|
|
|
* A: leave things as they are
|
|
|
|
* B: Hide the donate button.
|
|
|
|
* B: disable accounts but display a donate button
|
|
|
|
* C: Change the donate button to a subscribe button, people who subscribe will get more
|
|
|
|
* C: hide any reference to paid accounts or donation
|
|
|
|
* storage on your instance and you get 50% of the revenue earned.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* CryptPad is developed by people who need to live and who deserve an equivilent life to
|
|
|
|
|
|
|
|
* what they would get at a company which monitizes user data. However, we intend to have
|
|
|
|
|
|
|
|
* a mutually positive relationship with every one of our users, including you. If you are
|
|
|
|
|
|
|
|
* getting value from CryptPad, you should be giving equal value back.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* If you are using CryptPad in a business context, please consider taking a support contract
|
|
|
|
|
|
|
|
* by contacting sales@cryptpad.fr
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* If you choose A then there's nothing to do.
|
|
|
|
* If you chose A then there's nothing to do.
|
|
|
|
*
|
|
|
|
* If you chose B, set 'allowSubscriptions' to false.
|
|
|
|
* If you choose B, set this variable to true and it will remove the donate button.
|
|
|
|
* If you chose C, set 'removeDonateButton' to true
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
allowSubscriptions: true,
|
|
|
|
removeDonateButton: false,
|
|
|
|
removeDonateButton: false,
|
|
|
|
/*
|
|
|
|
|
|
|
|
* If you choose C, set allowSubscriptions to true, then set myDomain to the domain which people
|
|
|
|
/* Sales coming from your server will be identified by your domain
|
|
|
|
* use to reach your CryptPad instance. Then contact sales@cryptpad.fr and tell us your domain.
|
|
|
|
*
|
|
|
|
* We will tell you what is needed to get paid.
|
|
|
|
* If you are using CryptPad in a business context, please consider taking a support contract
|
|
|
|
|
|
|
|
* by contacting sales@cryptpad.fr
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
allowSubscriptions: false,
|
|
|
|
myDomain: _domain,
|
|
|
|
myDomain: 'i.did.not.read.my.config.myserver.tld',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* If you are using CryptPad internally and you want to increase the per-user storage limit,
|
|
|
|
* If you are using CryptPad internally and you want to increase the per-user storage limit,
|
|
|
|