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
默认白名单模式,修改apple icon
pull/4/head
欧醚
4 years ago
parent
b39c079cec
commit
b323bc8e15
2 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
config/initializers/2_whitelist_mode.rb
BIN
+ 1
- 1
config/initializers/2_whitelist_mode.rb
View File
@ -1,5 +1,5 @@
# frozen_string_literal: true
Rails
.
application
.
configure
do
config
.
x
.
whitelist_mode
=
ENV
[
'WHITELIST_MODE'
]
==
'tru
e'
config
.
x
.
whitelist_mode
=
ENV
[
'WHITELIST_MODE'
]
!=
'fals
e'
end
BIN
View File
Write
Preview
Loading…
Cancel
Save