Merge pull request #3212 from nextcloud/remove-webcals-support

Remove webcals support
This commit is contained in:
Christoph Wurst 2021-06-14 09:04:24 +02:00 committed by GitHub
commit ec3c0a2d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 12 deletions

View File

@ -155,12 +155,7 @@ export default {
const rootURL = generateRemoteUrl('dav')
const url = new URL(this.calendar.url + '?export', rootURL)
if (url.protocol === 'http:') {
url.protocol = 'webcal:'
}
if (url.protocol === 'https:') {
url.protocol = 'webcals:'
}
url.protocol = 'webcal:'
// copy link for calendar to clipboard
try {

View File

@ -69,12 +69,7 @@ export default {
const rootURL = generateRemoteUrl('dav')
const url = new URL(calendar.url + '?export', rootURL)
if (url.protocol === 'http:') {
url.protocol = 'webcal:'
}
if (url.protocol === 'https:') {
url.protocol = 'webcals:'
}
url.protocol = 'webcal:'
// copy link for calendar to clipboard
try {