diff --git a/server/index.js b/server/index.js index e315bd4..0348ed8 100755 --- a/server/index.js +++ b/server/index.js @@ -1525,25 +1525,25 @@ const mainServer = http.createServer(function(req, resp) { return } - if (method == 'jackettLink') { - shell.openExternal('https://github.com/jaruba/PowderWeb/wiki/Enable-Jackett') - respond({}) - return - } + if (isMaster) { - if (method == 'donateLink') { - shell.openExternal('https://powder.media/donate') - respond({}) - return - } + if (method == 'jackettLink') { + shell.openExternal('https://github.com/jaruba/PowderWeb/wiki/Enable-Jackett') + respond({}) + return + } - if (method == 'sopGuideLink') { - shell.openExternal('https://github.com/jaruba/PowderWeb/wiki/Enable-Sopcast') - respond({}) - return - } + if (method == 'donateLink') { + shell.openExternal('https://powder.media/donate') + respond({}) + return + } - if (isMaster) { + if (method == 'sopGuideLink') { + shell.openExternal('https://github.com/jaruba/PowderWeb/wiki/Enable-Sopcast') + respond({}) + return + } if (method == 'openInBrowser') { const isSSL = config.get('webServerSSL') || false