Replace SiteConfig with Settings::General in the comments (#20066)

This commit is contained in:
Anna Buianova 2023-09-08 15:17:09 +03:00 committed by GitHub
parent 1084179579
commit d6a273146b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
module Middlewares
# Since we must explicitly set the cookie domain in session_store before SiteConfig is available,
# this ensures we properly set the cookie to SiteConfig.app_domain at runtime.
# Since we must explicitly set the cookie domain in session_store before Settings::General is available,
# this ensures we properly set the cookie to Settings::General.app_domain at runtime.
class SetCookieDomain
def initialize(app)
@app = app