diff --git a/backend/src/lobby.js b/backend/src/Lobby.js similarity index 98% rename from backend/src/lobby.js rename to backend/src/Lobby.js index 7522216..536207b 100644 --- a/backend/src/lobby.js +++ b/backend/src/Lobby.js @@ -1,4 +1,4 @@ -const User = require("./user.js"); +const User = require("./User.js"); const timeline = require("./timeline.js"); module.exports = class Lobby { diff --git a/backend/src/state.js b/backend/src/State.js similarity index 94% rename from backend/src/state.js rename to backend/src/State.js index 12b98a9..b078181 100644 --- a/backend/src/state.js +++ b/backend/src/State.js @@ -1,5 +1,4 @@ -const Lobby = require("./lobby.js"); -const User = require("./user.js"); +const Lobby = require("./Lobby.js"); const {getRandomInt} = require("./util.js"); class State { diff --git a/backend/src/user.js b/backend/src/User.js similarity index 100% rename from backend/src/user.js rename to backend/src/User.js diff --git a/backend/src/app.js b/backend/src/app.js index 9b3f45a..e9bcbc9 100644 --- a/backend/src/app.js +++ b/backend/src/app.js @@ -1,6 +1,6 @@ const express = require("express"); const socketIO = require("socket.io"); -const state = require("./state.js"); +const state = require("./State.js"); const path = require("path"); const HOST = '0.0.0.0'; diff --git a/backend/src/index.js b/backend/src/index.js index 2a9c19c..27d757c 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -1,5 +1,5 @@ const service = require("./service.js"); -const state = require("./state.js"); +const state = require("./State.js"); const {io} = require('./app.js'); @@ -77,4 +77,4 @@ io.on('connection', socket => { lobby.seek(io, time); } }); -}); \ No newline at end of file +}); diff --git a/backend/src/service.js b/backend/src/service.js index f033119..a9431fe 100644 --- a/backend/src/service.js +++ b/backend/src/service.js @@ -1,5 +1,5 @@ -const User = require("./user.js"); -const state = require("./state.js"); +const User = require("./User.js"); +const state = require("./State.js"); /** * diff --git a/docker-compose.yml b/docker-compose.yml index 5dfb862..12189a2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,4 +10,4 @@ services: environment: NODE_ENV: production ports: - - 8801:80 + - 8800:80