From ff926a66e11c3f4568ee568e99e453f48f80152c Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Thu, 5 Oct 2017 20:46:34 +0200 Subject: [PATCH] Add index.php so that nginx does not complain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If I use the URL Lychee/plugins/Diagnostics/ I get a « 403 Forbidden » error from nginx. By adding the index.php part I have a working URL without changing the nginx configuration. --- src/scripts/contextMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/contextMenu.js b/src/scripts/contextMenu.js index 7a9904f..977e98a 100644 --- a/src/scripts/contextMenu.js +++ b/src/scripts/contextMenu.js @@ -30,8 +30,8 @@ contextMenu.settings = function(e) { { title: build.iconic('dropbox', 'ionicons') + 'Set Dropbox', fn: settings.setDropboxKey }, { }, { title: build.iconic('info') + 'About Lychee', fn: () => window.open(lychee.website) }, - { title: build.iconic('wrench') + 'Diagnostics', fn: () => window.open('plugins/Diagnostics/') }, - { title: build.iconic('align-left') + 'Show Log', fn: () => window.open('plugins/Log/') }, + { title: build.iconic('wrench') + 'Diagnostics', fn: () => window.open('plugins/Diagnostics/index.php') }, + { title: build.iconic('align-left') + 'Show Log', fn: () => window.open('plugins/Log/index.php') }, { }, { title: build.iconic('account-logout') + 'Sign Out', fn: lychee.logout } ]