Skip to content

Commit

Permalink
Merge branch 'master' into feat/perf
Browse files Browse the repository at this point in the history
  • Loading branch information
JAGFx committed Aug 8, 2021
2 parents 68d9e03 + 82b821c commit ff915d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server.dev/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const bodyParser = require( 'body-parser' );
const cors = require( 'cors' );


const options = { /* ... */ };
const io = socketio( options );
//const options = { /* ... */ };
//const io = socketio( options );
const dateFilename = path.resolve( process.cwd(), '../src/data/scs_sdk_plugin_parsed_data.json' );
const port = 3000;
const configFilePath = path.resolve( process.cwd(), '../src/data/ets2-dashboard-skin.config.json' );
Expand All @@ -34,6 +34,7 @@ const interval = () => {

let app = express();
let server = http.createServer( app );
const io = socketio( server );

app.use( bodyParser.json() );
app.use( cors( {
Expand Down

0 comments on commit ff915d0

Please sign in to comment.