Skip to content

Commit 296d6d1

Browse files
authored
Allow any domain to access (#211)
1 parent ef05995 commit 296d6d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/application.rb

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class Application < Rails::Application
2020
config.i18n.available_locales = ['en', 'zh']
2121
config.i18n.default_locale = 'zh'
2222
config.encoding = 'utf-8'
23+
config.hosts << /.*/
2324

2425
config.time_zone = "Beijing"
2526
# config.eager_load_paths << Rails.root.join("extras")

0 commit comments

Comments
 (0)