summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-08-01 21:21:14 +0300
committerLauri Ojansivu <x@xet7.org>2018-08-01 21:21:14 +0300
commitb2eeff96977592deaeb23a8171fc3b13f8c6c5dc (patch)
tree8f75dea4c77390bdc629f424d9849293fc8e4116
parent6a23f73d94ad6b4136e815c61b0bf132b8e476e1 (diff)
downloadwekan-b2eeff96977592deaeb23a8171fc3b13f8c6c5dc.tar.gz
wekan-b2eeff96977592deaeb23a8171fc3b13f8c6c5dc.tar.bz2
wekan-b2eeff96977592deaeb23a8171fc3b13f8c6c5dc.zip
Enable Wekan API by default, so that Export Board to JSON works.
-rw-r--r--docker-compose.yml4
-rwxr-xr-xsnap-src/bin/config2
2 files changed, 4 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index b2e12629..5d49318c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -37,7 +37,9 @@ services:
environment:
- MONGO_URL=mongodb://wekandb:27017/wekan
- ROOT_URL=http://localhost
- - WITH_API=false
+ # Wekan Export Board works when WITH_API='true'.
+ # If you disable Wekan API with 'false', Export Board does not work.
+ - WITH_API=true
depends_on:
- wekandb
diff --git a/snap-src/bin/config b/snap-src/bin/config
index 46fa2c3f..db2a0221 100755
--- a/snap-src/bin/config
+++ b/snap-src/bin/config
@@ -49,7 +49,7 @@ DEFAULT_CADDY_BIND_PORT="3001"
KEY_CADDY_BIND_PORT="caddy-bind-port"
DESCRIPTION_WITH_API="Enable/disable the api of wekan"
-DEFAULT_WITH_API="false"
+DEFAULT_WITH_API="true"
KEY_WITH_API="with-api"
DESCRIPTION_MATOMO_ADDRESS="The address of the server where matomo is hosted"