Skip to content

Commit

Permalink
make it better
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikFle committed Sep 21, 2020
1 parent 7156157 commit dd773cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const express = require("express");


const app = express();
const hostname = "0.0.0.0"; //const hostname = "127.0.0.1";https://achtung.herokuapp.com/
const hostname = '0.0.0.0'; //const hostname = "127.0.0.1";https://achtung.herokuapp.com/
const port = "process.env.PORT || 80"; //3000


Expand All @@ -26,7 +26,7 @@ app.get('/',(req,res)=>{



var server = app.listen(port,hostname, () =>{}); // call back und hostname optional und port
var server = app.listen(port); // call back und hostname optional und port
var io = require('socket.io').listen(server); // socket io mit express app verbinden

var gameRooms={}; // objekt mit alle gamerooms drinne
Expand Down

0 comments on commit dd773cd

Please sign in to comment.