mirror of https://github.com/nextcloud/calendar
Remove webcals support
The webcals is not officially registered (it's only assumed to be webcal over https), and it seems [1] some clients don't support it. Closes #2416 and #3050 and also related to #2197 [1] https://github.com/nextcloud/calendar/issues/2416 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
852d488474
commit
5ce3963778
|
@ -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