method

default_hsts_options

rails latest stable - Class: ActionDispatch::SSL

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

default_hsts_options()
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/ssl.rb, line 49
    def self.default_hsts_options
      { expires: HSTS_EXPIRES_IN, subdomains: true, preload: false }
    end