mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update config.js
This commit is contained in:
parent
410cc7f937
commit
0a7fb22aa8
1 changed files with 10 additions and 0 deletions
|
@ -45,6 +45,14 @@ module.exports = {
|
||||||
* In such a case this should be also handled by NGINX, as documented in
|
* In such a case this should be also handled by NGINX, as documented in
|
||||||
* cryptpad/docs/example.nginx.conf (see the $main_domain variable)
|
* cryptpad/docs/example.nginx.conf (see the $main_domain variable)
|
||||||
*
|
*
|
||||||
|
* Note: you may provide multiple origins for the purpose of accessing
|
||||||
|
* a development instance via different URLs, like so:
|
||||||
|
* httpUnsafeOrigin: 'http://127.0.0.1:3000/ http://localhost:3000/',
|
||||||
|
*
|
||||||
|
* Such configuration is not recommended for production instances,
|
||||||
|
* as the development team does not actively test such configuration
|
||||||
|
* and it may have unintended consequences in practice.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
httpUnsafeOrigin: 'http://127.0.0.1:__PORT__',
|
httpUnsafeOrigin: 'http://127.0.0.1:__PORT__',
|
||||||
|
|
||||||
|
@ -295,6 +303,8 @@ module.exports = {
|
||||||
*/
|
*/
|
||||||
blobStagingPath: './data/blobstage',
|
blobStagingPath: './data/blobstage',
|
||||||
|
|
||||||
|
decreePath: './data/decrees',
|
||||||
|
|
||||||
/* CryptPad supports logging events directly to the disk in a 'logs' directory
|
/* CryptPad supports logging events directly to the disk in a 'logs' directory
|
||||||
* Set its location here, or set it to false (or nothing) if you'd rather not log
|
* Set its location here, or set it to false (or nothing) if you'd rather not log
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue