diff --git a/notes.md b/notes.md index b602698..84ba808 100644 --- a/notes.md +++ b/notes.md @@ -1,7 +1,15 @@ -- Website: Add ids to titles +# DEPLOY +For deployment create the following items: +- libreevent-[VERSION HERE]-npm.zip (contains the node_modules folder from src/server) +- libreevent-[VERSION HERE]-prebuilt.zip (contains a ready-to-use compiled version of libreevent (main download)) +- libreevent-[VERSION HERE]-full-icu.zip (contains the package.json file which can be used if full-icu is not enabled in Node.js) +# PLANS +- Website: Add ids to titles + + - Update files to import when deploying for included json files instead of secret.json files - Also remove /test/ routes diff --git a/src/server/backend/api/getHandler.js b/src/server/backend/api/getHandler.js index 43980da..bdd775b 100644 --- a/src/server/backend/api/getHandler.js +++ b/src/server/backend/api/getHandler.js @@ -29,7 +29,6 @@ class GETHandler { } else if ( call === 'getReservedSeats' ) { if ( query.event ) { db.getDataSimple( 'temp', 'user_id', session.id ).then( dat => { - // console.log( dat[ 0 ] ? JSON.parse( dat[ 0 ].data )[ query.event ] ?? {} : {} ); resolve( { 'user': dat[ 0 ] ? JSON.parse( dat[ 0 ].data )[ query.event ] ?? {} : {} } ); } ).catch( () => { reject( { 'code': 500, 'message': 'ERR_DB' } ); diff --git a/website/dist/docs/admin-panel/index.html b/website/dist/docs/admin-panel/index.html index df6dddb..4748e25 100644 --- a/website/dist/docs/admin-panel/index.html +++ b/website/dist/docs/admin-panel/index.html @@ -18,7 +18,7 @@

Home

-

The admin panel is where you can change basically everything about libreevent. +

The admin panel is where you can change basically everything about libreevent. It can be reached by visiting your libreevent instance and at the end type '/admin'. Example: 'https://libreevent.janishutz.com/admin' (note that this is not a valid URL!)

Here's a list of the pages available when logged in as the root user.