mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
more progress on backend
This commit is contained in:
1 parent
be263fcd6b
commit
fc4b18274b
6 files changed
+125
-1
No files matched your search
+2
-1
@@ -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' ) );
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user