fix references to report_server

This commit is contained in:
Albert Yi
2016-12-01 12:34:57 -08:00
parent f46aaad39d
commit af42f52d4a
7 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
<li class="nonessential"><%= link_to "Upload", new_upload_path %></li>
<li><%= link_to "Popular", popular_explore_posts_path %></li>
<li><%= link_to "Hot", posts_path(:tags => "order:rank") %></li>
<% if Danbooru.config.report_server %>
<% if Danbooru.config.reportbooru_server %>
<li><%= link_to "Searches", searches_explore_posts_path %></li>
<% end %>
<% unless CurrentUser.is_anonymous? %>

View File

@@ -1,7 +1,7 @@
<script type="text/javascript">
$(function() {
var tags = $("#tags").val();
$.post("<%= Danbooru.config.report_server %>/missed_searches", {
$.post("<%= Danbooru.config.reportbooru_server %>/missed_searches", {
session_id: "<%= session_id %>",
tags: tags,
sig: "<%= sig %>"

View File

@@ -1,6 +1,6 @@
<script type="text/javascript">
$(function() {
$.post("<%= Danbooru.config.report_server %>/hits", {
$.post("<%= Danbooru.config.reportbooru_server %>/hits", {
key: "<%= key %>",
value: "<%= value %>",
<% if CurrentUser.user.is_platinum? && params[:ms] %>

View File

@@ -161,7 +161,7 @@
<meta property="og:image" content="http://<%= Danbooru.config.hostname %><%= @post.large_file_url %>">
<% if Danbooru.config.enable_post_search_counts %>
<meta name="report-server" content="<%= Danbooru.config.report_server %>">
<meta name="report-server" content="<%= Danbooru.config.reportbooru_server %>">
<% end %>
<!-- Twitter properties -->