more progress on backend

This commit is contained in:
2023-07-08 13:53:06 +02:00
parent be263fcd6b
commit fc4b18274b
6 changed files with 125 additions and 1 deletions

View File

@@ -15,6 +15,8 @@ const bodyParser = require( 'body-parser' );
const cookieParser = require( 'cookie-parser' );
const http = require( 'http' );
const fs = require( 'fs' );
// const sql = require( './backend/db/mysqldb.js' );
// const sqld = new sql();
// const env = process.env.PROD || false;
@@ -30,7 +32,6 @@ app.use( expressSession( {
app.use( bodyParser.urlencoded( { extended: false } ) );
app.use( bodyParser.json() );
app.use( cookieParser() );
// app.use( favicon( path.join( __dirname + '/ui/assets/logo.png' ) ) );
app.use( express.static( '../webapp/dist' ) );