Skip to content

Commit 8fc6988

Browse files
committed
Restore previous constant definition.
1 parent e8e81b6 commit 8fc6988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/utopia/static/middleware.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
module Utopia
1515
module Static
16+
DEFAULT_CACHE_CONTROL = "public, max-age=3600".freeze
17+
1618
# A middleware which serves static files from the specified root directory.
1719
class Middleware
18-
DEFAULT_CACHE_CONTROL = "public, max-age=3600".freeze
19-
2020
# @param root [String] The root directory to serve files from.
2121
# @param types [Array] The mime-types (and file extensions) to recognize/serve.
2222
# @param cache_control [String] The cache-control header to set for static content.

0 commit comments

Comments
 (0)