FIX: Uploads didn't work for subfolder anymore

This commit is contained in:
Gerhard Schlager 2018-10-30 12:53:57 +01:00
parent 5b14f713a0
commit 733b8af47b
2 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,9 @@
<% else %>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes">
<% end %>
<%- if Discourse.base_uri.present? %>
<meta name="discourse-base-uri" content="<%= Discourse.base_uri %>">
<% end %>
<%= canonical_link_tag %>
<%= render_sitelinks_search_tag %>
<link rel="search" type="application/opensearchdescription+xml" href="<%= Discourse.base_url %>/opensearch.xml" title="<%= SiteSetting.title %> Search">

View File

@ -9,8 +9,6 @@
<script src="<%= ExtraLocalesController.url("wizard") %>"></script>
<%= csrf_meta_tags %>
<meta name="discourse-base-uri" content="<%= Discourse.base_uri %>">
<%= render partial: "layouts/head" %>
<title><%= t 'wizard.title' %></title>
</head>