From 03ea5f7b89cf433eedd04b2b61e8172d16befd9c Mon Sep 17 00:00:00 2001 From: Kevin McConnell Date: Thu, 11 Dec 2025 11:38:28 +0000 Subject: [PATCH] Set multi_tenant config option To allow the non-SaaS version of Fizzy to default to single-tenant mode, we'll enable a `multi_tenant.enabled` config option here that overrides the default behaviour. --- saas/config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/saas/config/environments/production.rb b/saas/config/environments/production.rb index ee88639ad..7add7804b 100644 --- a/saas/config/environments/production.rb +++ b/saas/config/environments/production.rb @@ -6,6 +6,9 @@ Rails.application.configure do config.action_mailer.default_url_options = { host: "app.fizzy.do", protocol: "https" } config.action_mailer.smtp_settings = { domain: "app.fizzy.do", address: "smtp-outbound", port: 25, enable_starttls_auto: false } + # SaaS version of Fizzy is multi-tenanted + config.x.multi_tenant.enabled = true + # Content Security Policy config.x.content_security_policy.report_only = false config.x.content_security_policy.report_uri = "https://o33603.ingest.us.sentry.io/api/4510481339187200/security/?sentry_key=9f126ba30d5f703451a13a2929bb5a10"