file url ttl env var
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Accounts
|
module Accounts
|
||||||
LINK_EXPIRES_AT = 40.minutes
|
LINK_EXPIRES_AT = ENV.fetch('FILE_URLS_EXPIRE_MINUTES', '40').to_i.minutes
|
||||||
|
|
||||||
module_function
|
module_function
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user