This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix whitelist federation for subdomains (
#12435
)
master
noiob
4 years ago
committed by
Eugen Rochko
parent
5605b828e5
commit
5bc4edd078
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/helpers/domain_control_helper.rb
+ 1
- 1
app/helpers/domain_control_helper.rb
View File
@ -6,7 +6,7 @@ module DomainControlHelper
domain
=
begin
if
uri_or_domain
.
include?
(
'://'
)
Addressable
::
URI
.
parse
(
uri_or_domain
)
.
domain
Addressable
::
URI
.
parse
(
uri_or_domain
)
.
host
else
uri_or_domain
end
Write
Preview
Loading…
Cancel
Save