forked from e621ng/e621ng
remove Discord page and related. not going to be using discord_joiner
This commit is contained in:
parent
f2af884e87
commit
64105b0d4e
@ -16,8 +16,5 @@
|
||||
<% if CurrentUser.is_moderator? %>
|
||||
<%= nav_link_to("Dashboard", moderator_dashboard_path) %>
|
||||
<% end %>
|
||||
<% if !CurrentUser.is_anonymous? %>
|
||||
<%= nav_link_to("Discord", discord_get_path) %>
|
||||
<% end %>
|
||||
<%= nav_link_to("Help", help_pages_path) %>
|
||||
<%= nav_link_to("More »", site_map_path) %>
|
||||
|
@ -19,7 +19,7 @@ Rails.application.configure do
|
||||
policy.font_src :self
|
||||
policy.img_src :self, :data, 'static1.e621.net', 'static1.e926.net', 'ads.dragonfru.it'
|
||||
policy.child_src :none
|
||||
policy.form_action :self, 'discord.e621.net', 'discord.com'
|
||||
#policy.form_action :self, 'discord.e621.net', 'discord.com'
|
||||
# Specify URI for violation reports
|
||||
# policy.report_uri "/csp-violation-report-endpoint"
|
||||
end
|
||||
|
@ -454,8 +454,8 @@ Rails.application.routes.draw do
|
||||
get "/static/takedown" => "static#takedown", as: "takedown_static"
|
||||
get "/static/terms_of_service" => "static#terms_of_service", :as => "terms_of_service"
|
||||
get "/static/contact" => "static#contact", :as => "contact"
|
||||
get "/static/discord" => "static#discord", as: "discord_get"
|
||||
post "/static/discord" => "static#discord", as: "discord_post"
|
||||
#get "/static/discord" => "static#discord", as: "discord_get"
|
||||
#post "/static/discord" => "static#discord", as: "discord_post"
|
||||
get "/static/toggle_mobile_mode" => "static#disable_mobile_mode", as: "disable_mobile_mode"
|
||||
get "/static/theme" => "static#theme", as: "theme"
|
||||
get "/static/avoid_posting" => "static#avoid_posting", as: "avoid_posting_static"
|
||||
|
Loading…
Reference in New Issue
Block a user