Node.js based forum software built for the modern web
normalising behaviour for subfolder installs, #6410
Julian Lam9eac794e8e1d
diff --git a/src/views/500-embed.tpl b/src/views/500-embed.tplindex d9d9f30d5d..3bd6857048 100644--- a/src/views/500-embed.tpl+++ b/src/views/500-embed.tpl@@ -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' +