nextcloud / whiteboard

GNU Affero General Public License v3.0
2 stars 0 forks source link

feat: Add configurable collab url and basic tls support #19

Closed juliushaertl closed 1 month ago

juliushaertl commented 1 month ago

Makes testing for me a bit easier with HTTPS locally and more flexible as we might need it anyways

Collab backend URL can be configured with

occ config:app:set whiteboard collabBackendUrl --value "nextcloud.local:3003"

Configurable Nextcloud callback URL and TLS:

TLS=1 TLS_CERT=/Users/julius/repos/nextcloud/nc-dev/data/ssl/nextcloud.local.crt TLS_KEY=/Users/julius/repos/nextcloud/nc-dev/data/ssl/nextcloud.local.key NEXTCLOUD_URL=https://nextcloud.local PORT=3003 npm run server:start