diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-02-11 22:32:31 +0100 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-02-11 22:32:31 +0100 |
commit | 087a47c4842ddd9b13cb81762fc6161bcf20d4b4 (patch) | |
tree | 9a04ea8251b536ce1757a3d69ab834e8add1f01a | |
parent | Minor fix in the README (diff) | |
download | packages-5-087a47c4842ddd9b13cb81762fc6161bcf20d4b4.tar.gz packages-5-087a47c4842ddd9b13cb81762fc6161bcf20d4b4.tar.bz2 packages-5-087a47c4842ddd9b13cb81762fc6161bcf20d4b4.zip |
Explicitly call /changelog.html instead of /changelog
This is fixing problems that have been arised in production when
using the app in combination with nginx.
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r-- | app/webpack/src/javascript/packages/show.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/webpack/src/javascript/packages/show.js b/app/webpack/src/javascript/packages/show.js index c964fdb..d3c63a4 100644 --- a/app/webpack/src/javascript/packages/show.js +++ b/app/webpack/src/javascript/packages/show.js @@ -2,7 +2,7 @@ $(function() { var atom = $('#package-title').data('atom'); $.ajax({ - url: '/packages/' + atom + '/changelog' + url: '/packages/' + atom + '/changelog.html' }).done(function(data) { $('#changelog-container').html(data); $(document).trigger('kkuleomi:ajax'); |