Handling sessions, json response if not logged in

This commit is contained in:
MrFry 2020-04-06 21:34:33 +02:00
parent 52ae2828e5
commit 4c2c617b96
7 changed files with 110 additions and 23 deletions

View file

@ -17,6 +17,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
------------------------------------------------------------------------- */
console.clear()
const startHTTPS = true
const port = 8080
@ -38,7 +39,6 @@ const loggableKeywords = [
]
let modules = JSON.parse(utils.ReadFile(modulesFile))
console.clear()
logger.Load()
try {