diff --git a/server.js b/server.js index 91a18832..80dad012 100644 --- a/server.js +++ b/server.js @@ -10,10 +10,8 @@ var server = http.createServer(function (request, response) { switch (path) { case '/': - path = "/index.html"; - case '/chat': - case '/transmitter.html': - fs.readFile(__dirname + path, function (error, data) { + path = "/chat.html"; + fs.readFile(__dirname + path, function (error, data) { if (error) { response.writeHead(404); response.write('File not found!');