Fix for max-age (#13)
* Fix for max-age with space * Changed ? to * for multiple spaces
This commit is contained in:
parent
97f671ee5e
commit
949b8a7753
@ -18,7 +18,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
maxAgeRx = regexp.MustCompile("max-age=([0-9]+)")
|
maxAgeRx = regexp.MustCompile("max-age= *([0-9]+)")
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user