diff --git a/src/storage/http.ts b/src/storage/http.ts index e1845bc..35e0551 100644 --- a/src/storage/http.ts +++ b/src/storage/http.ts @@ -19,7 +19,7 @@ export function ipxHttpStorage(_options: HTTPStorageOptions = {}): IPXStorage { let _domains = _options.domains || getEnv("IPX_HTTP_DOMAINS") || []; const defaultMaxAge = - _options.maxAge || getEnv("IPX_HTTP_MAX_AGE"); + _options.maxAge || getEnv("IPX_HTTP_MAX_AGE") || 300; const fetchOptions = _options.fetchOptions || getEnv("IPX_HTTP_FETCH_OPTIONS") || {};