From ae169a5a0b809b4e45d9c9f8215e0d0010a73145 Mon Sep 17 00:00:00 2001 From: Ali Josie <33804388+0xc0d@users.noreply.github.com> Date: Tue, 10 Aug 2021 12:41:04 +0200 Subject: [PATCH] Document update Clarify doc for MaxAge in config --- cors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cors.go b/cors.go index c872e3f..a58154a 100644 --- a/cors.go +++ b/cors.go @@ -38,7 +38,7 @@ type Config struct { // API specification ExposeHeaders []string - // MaxAge indicates how long (in seconds) the results of a preflight request + // MaxAge indicates how long (with second-precision) the results of a preflight request // can be cached MaxAge time.Duration