mirror of https://github.com/nextcloud/calendar
Merge pull request #3212 from nextcloud/remove-webcals-support
Remove webcals support
This commit is contained in:
commit
ec3c0a2d71
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue