diff options
Diffstat (limited to 'apps/comments/src/utils/davUtils.js')
-rw-r--r-- | apps/comments/src/utils/davUtils.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/comments/src/utils/davUtils.js b/apps/comments/src/utils/davUtils.js new file mode 100644 index 00000000000..33efc8e7d10 --- /dev/null +++ b/apps/comments/src/utils/davUtils.js @@ -0,0 +1,12 @@ +/** + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +import { generateRemoteUrl } from '@nextcloud/router' + +const getRootPath = function() { + return generateRemoteUrl('dav/comments') +} + +export { getRootPath } |