Add index.php so that nginx does not complain

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.
This commit is contained in:
Ludovic Rousseau 2017-10-05 20:46:34 +02:00
parent 27f207dcba
commit ff926a66e1

View File

@ -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 }
]