@@ -13,9 +13,9 @@ var notification = new Notification({
13
13
project : project ,
14
14
body : 'Hello world!' ,
15
15
title : 'Website Name' ,
16
- targetUrl : 'http ://example.com' ,
17
- iconUrl : 'http ://example.com/assets/icon.png' ,
18
- imageUrl : 'http ://example.com/assets/image.png' ,
16
+ targetUrl : 'https ://example.com' ,
17
+ iconUrl : 'https ://example.com/assets/icon.png' ,
18
+ imageUrl : 'https ://example.com/assets/image.png' ,
19
19
ttl : 600 ,
20
20
requireInteraction : true ,
21
21
urgent : true ,
@@ -24,8 +24,8 @@ var notification = new Notification({
24
24
actions : [
25
25
{
26
26
title : 'My Button 1' ,
27
- targetUrl : 'http ://example.com/button-link' ,
28
- icon : 'http ://example.com/assets/button-icon.png' ,
27
+ targetUrl : 'https ://example.com/button-link' ,
28
+ icon : 'https ://example.com/assets/button-icon.png' ,
29
29
action : 'myActionName'
30
30
}
31
31
] ,
@@ -57,9 +57,9 @@ describe('Notification', function () {
57
57
'notification' : {
58
58
'body' : 'Hello world!' ,
59
59
'title' : 'Website Name' ,
60
- 'target_url' : 'http ://example.com' ,
61
- 'icon_url' : 'http ://example.com/assets/icon.png' ,
62
- 'image_url' : 'http ://example.com/assets/image.png' ,
60
+ 'target_url' : 'https ://example.com' ,
61
+ 'icon_url' : 'https ://example.com/assets/icon.png' ,
62
+ 'image_url' : 'https ://example.com/assets/image.png' ,
63
63
'ttl' : 600 ,
64
64
'require_interaction' : true ,
65
65
'urgent' : true ,
@@ -68,8 +68,8 @@ describe('Notification', function () {
68
68
'actions' : [
69
69
{
70
70
'title' : 'My Button 1' ,
71
- 'target_url' : 'http ://example.com/button-link' ,
72
- 'icon' : 'http ://example.com/assets/button-icon.png' ,
71
+ 'target_url' : 'https ://example.com/button-link' ,
72
+ 'icon' : 'https ://example.com/assets/button-icon.png' ,
73
73
'action' : 'myActionName'
74
74
}
75
75
] ,
@@ -106,9 +106,9 @@ describe('Notification', function () {
106
106
'notification' : {
107
107
'body' : 'Hello world!' ,
108
108
'title' : 'Website Name' ,
109
- 'target_url' : 'http ://example.com' ,
110
- 'icon_url' : 'http ://example.com/assets/icon.png' ,
111
- 'image_url' : 'http ://example.com/assets/image.png' ,
109
+ 'target_url' : 'https ://example.com' ,
110
+ 'icon_url' : 'https ://example.com/assets/icon.png' ,
111
+ 'image_url' : 'https ://example.com/assets/image.png' ,
112
112
'ttl' : 600 ,
113
113
'require_interaction' : true ,
114
114
'urgent' : true ,
@@ -117,8 +117,8 @@ describe('Notification', function () {
117
117
'actions' : [
118
118
{
119
119
'title' : 'My Button 1' ,
120
- 'target_url' : 'http ://example.com/button-link' ,
121
- 'icon' : 'http ://example.com/assets/button-icon.png' ,
120
+ 'target_url' : 'https ://example.com/button-link' ,
121
+ 'icon' : 'https ://example.com/assets/button-icon.png' ,
122
122
'action' : 'myActionName'
123
123
}
124
124
] ,
@@ -156,9 +156,9 @@ describe('Notification', function () {
156
156
'notification' : {
157
157
'body' : 'Hello world!' ,
158
158
'title' : 'Website Name' ,
159
- 'target_url' : 'http ://example.com' ,
160
- 'icon_url' : 'http ://example.com/assets/icon.png' ,
161
- 'image_url' : 'http ://example.com/assets/image.png' ,
159
+ 'target_url' : 'https ://example.com' ,
160
+ 'icon_url' : 'https ://example.com/assets/icon.png' ,
161
+ 'image_url' : 'https ://example.com/assets/image.png' ,
162
162
'ttl' : 600 ,
163
163
'require_interaction' : true ,
164
164
'urgent' : true ,
@@ -167,8 +167,8 @@ describe('Notification', function () {
167
167
'actions' : [
168
168
{
169
169
'title' : 'My Button 1' ,
170
- 'target_url' : 'http ://example.com/button-link' ,
171
- 'icon' : 'http ://example.com/assets/button-icon.png' ,
170
+ 'target_url' : 'https ://example.com/button-link' ,
171
+ 'icon' : 'https ://example.com/assets/button-icon.png' ,
172
172
'action' : 'myActionName'
173
173
}
174
174
] ,
0 commit comments