We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
google.calendar
1 parent 683dccf commit dfd5b7cCopy full SHA for dfd5b7c
plugins/domains/google.com/google.calendar.js
@@ -1,14 +1,14 @@
1
export default {
2
3
re: [
4
- /^https?:\/\/(?:www|calendar)\.google\.com\/calendar\/embed\/?\?(?:.+)$/i
+ /^https?:\/\/(?:www|calendar)\.google\.com\/calendar\/(?:u\/\d+\/)?embed\/?\?(?:.+)$/i
5
],
6
7
mixins: ['*'],
8
9
getLink: function(url) {
10
return {
11
- href: url,
+ href: url.replace(/\/u\/\d+\//, '/'),
12
type: CONFIG.T.text_html,
13
rel: [CONFIG.R.iframely, CONFIG.R.reader],
14
"aspect-ratio": 800 / 600
0 commit comments