Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 70b4c87

Browse files
committedApr 24, 2024·
Reduce valid certificate time for testing purposes
1 parent b3aa9ab commit 70b4c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎certificates/certificates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import (
4040
var (
4141
host = "localhost"
4242
validFrom = ""
43-
validFor = 365 * 24 * time.Hour * 2 // 2 years
43+
validFor = time.Hour * 2 // 2 hours
4444
rsaBits = 2048
4545
)
4646

0 commit comments

Comments
 (0)
Please sign in to comment.