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>
4444 </ div >
4545 < div class ="row ">
4646 < 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 ">
4949 </ div >
5050 < div class ="control ">
5151 < button id ="gen "> Generate VAPID</ button >
@@ -267,6 +267,7 @@ <h2>Exported Keys</h2>
267267
268268document . getElementById ( "check" ) . addEventListener ( "click" , check ) ;
269269document . getElementById ( "gen" ) . addEventListener ( "click" , gen ) ;
270+ document . getElementById ( 'vapid_exp' ) . value = parseInt ( Date . now ( ) * .001 ) + 86400 ;
270271
271272
272273</ script >
You can’t perform that action at this time.
0 commit comments