diff options
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 6bc09930f3f..f49a1a65cba 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -2166,6 +2166,10 @@ class Project < ApplicationRecord pages_url_for(project_setting.pages_unique_domain) end + def pages_unique_host + URI(pages_unique_url).host + end + def pages_namespace_url pages_url_for(pages_subdomain) end |