Skip to content

Commit

Permalink
update to use dwyl favicon (which I uploaded to imgur) http://i.imgur…
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Jul 16, 2016
1 parent 8daf7b5 commit 06aa89d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions lib/index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<!doctype html>
<html>
<head>
<title>Chat</title>
<title>Stats</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<link rel="stylesheet" href="/style.css">
<link rel="icon"
type="image/png"
href="https://i.imgur.com/84ZFT7V.png">
href="http://i.imgur.com/zBEQq4w.png">
</head>
<body>
<h2>Stats! </h2>


<script src="https://code.jquery.com/jquery-1.11.3.js"></script>
<script src="https://cdn.rawgit.com/ScottHamper/Cookies/1.2.1/dist/cookies.min.js">
</script>
Expand Down
6 changes: 4 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var app = http.createServer(function handler(req, res) {
})
}
else if(url === '/favicon.ico') {
var favicon = 'https://www.google.com/images/google_favicon_128.png';
var favicon = 'http://i.imgur.com/zBEQq4w.png'; // dwyl favicon
res.writeHead(301, { "Location": favicon });
res.end();
}
Expand Down Expand Up @@ -68,7 +68,9 @@ var app = http.createServer(function handler(req, res) {
var io = require('socket.io')(app);

io.on('connection', function (socket) {
// console.log('Totes Works!', socket);
console.log(' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ');
console.log(socket.client.conn);
console.log(' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ');
socket.emit('news', { msg: 'welcome to stats-ville!' });
socket.on('my other event', function (data) {
console.log(data);
Expand Down

0 comments on commit 06aa89d

Please sign in to comment.