File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ <h2>Claims</h2>
44
44
</ div >
45
45
< div class ="row ">
46
46
< label for ="exp "> < b > Exp</ b > iration:</ label >
47
- < p > Time in seconds for this claim to live. (Max: 24 hours from now)</ p >
48
- < input name ="exp " placeholder ="Time in seconds ">
47
+ < p > Time in seconds for this claim to live. (Default/ Max: 24 hours from now)</ p >
48
+ < input name ="exp " id =" vapid_exp " placeholder ="Time in seconds ">
49
49
</ div >
50
50
< div class ="control ">
51
51
< button id ="gen "> Generate VAPID</ button >
@@ -267,6 +267,7 @@ <h2>Exported Keys</h2>
267
267
268
268
document . getElementById ( "check" ) . addEventListener ( "click" , check ) ;
269
269
document . getElementById ( "gen" ) . addEventListener ( "click" , gen ) ;
270
+ document . getElementById ( 'vapid_exp' ) . value = parseInt ( Date . now ( ) * .001 ) + 86400 ;
270
271
271
272
272
273
</ script >
You can’t perform that action at this time.
0 commit comments