lienma / UpsBoard

Usenet + plex + Stats Board, allows you to monitor your usenet services (SABnzbd+, Sick Beard, & CouchPotato), Plex, & your system (CPU Usage, Memory Usage, Bandwidth Usage, & Disk Space Usage)
MIT License
19 stars 3 forks source link

"loginRequired": false Unexpected string #4

Closed TwinMist closed 10 years ago

TwinMist commented 10 years ago

/opt/UpsBoard/config.js:141 "loginRequired": false ^^^^^^^^^^^^^^^ SyntaxError: Unexpected string at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/opt/UpsBoard/core/logger.js:8:15) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32)

lienma commented 10 years ago

I'm thinking you are probably missing a comma on the line right before this one. If you want to paste a couple lines before and after that so I can take a look.

TwinMist commented 10 years ago

cheer you were right. But the link is still displayed when set to "loginRequired": true and not logged in tested in firefox and chome both the same

lienma commented 10 years ago

The link is still going to be visible if your logged in or out. The difference is if the user is logged in than the user can follow the link to the service.