From 28767145a5a953335cd82c154416e770d5a56822 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 1 Feb 2023 17:54:34 -0300 Subject: [PATCH] feat: habilitar la api pero no el panel retrocompatibilidad con sitios que llaman a api.sit.io --- config/initializers/hosts.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/initializers/hosts.rb b/config/initializers/hosts.rb index db8bd9c4..e0a3c2be 100644 --- a/config/initializers/hosts.rb +++ b/config/initializers/hosts.rb @@ -7,4 +7,5 @@ Rails.application.configure do config.hosts << "panel.#{domain}" config.hosts << "api.#{domain}" + config.hosts << /\Aapi\./ end