Compare commits

...

1 Commits

Author SHA1 Message Date
Tocho Tochev 32c9b6d2bb Add localhost as name to initfest domains 2024-05-18 15:42:37 +03:00
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ class ApplicationController < ActionController::Base
# TODO: make this get the domain from the database
prepend_view_path "lib/initfest/views" if request.host =~ /openfest/
prepend_view_path "lib/initfest/views" if request.host =~ /example/
prepend_view_path "lib/initfest/views" if request.host =~ /127\.0\.0/
prepend_view_path "lib/initfest/views" if request.host =~ /^127\.0\.0/
prepend_view_path "lib/initfest/views" if request.host =~ /^localhost$/
end
protected