devforth/spa-to-http

Cache control always 0

wibimaster opened this issue · 1 comments

Hi,

It seems there is a typo on params.go :

        &cli.Int64Flag{
-               EnvVars: []string{"CACHE_MAX_AGE"},
-               Name:    "cache-max-age",
+               EnvVars: []string{"CACHE_CONTROL_MAX_AGE"},
+               Name:    "cache-control-max-age",
                Value:   604800,
        },

@wibimaster @TheRealMaN fixed in 1.0.6, sorry for long reply.