mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
normalising behaviour for subfolder installs, #6410
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
window.addEventListener('load', function () {
|
||||
define('/assets/templates/500.js', function () {
|
||||
define(config.relative_path + '/assets/templates/500.js', function () {
|
||||
function compiled(helpers, context, get, iter, helper) {
|
||||
return '<div class="alert alert-danger">\n\t<strong>[[global:500.title]]</strong>\n\t<p>[[global:500.message]]</p>\n\t<p>' +
|
||||
helpers.__escape(get(context && context['path'])) + '</p>\n\t' +
|
||||
|
||||
Reference in New Issue
Block a user