Skip to content

Commit 612b9a3

Browse files
committed
v1.3.0 updating dependencies. migrating from jade to pug templating engine
1 parent 34ebec9 commit 612b9a3

File tree

20 files changed

+2390
-336
lines changed

20 files changed

+2390
-336
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#[sub.socket.io](http://chat.braitsch.io/)
1+
# [sub.socket.io](http://chat.braitsch.io/)
22

3-
####An example of how to share a single Socket.IO instance over multiple subdomains in the form of running three independent chat servers.
3+
#### An example of how to share a single Socket.IO instance over multiple subdomains in the form of running three independent chat servers.
44

55
## Installation
66

@@ -58,6 +58,3 @@ http://sub1.localhost:3000
5858

5959
And you should have three isolated instances of the chat server running, all sharing the same Socket.IO instance.
6060

61-
[More info about how the actual chat application works on my blog](http://kitchen.braitsch.io/building-a-node-js-chat-application-and-sharing-socket-io-across-multiple-subdomains/)
62-
63-

history.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
####1.3.0 / 2015-10-18
2+
* updating all dependencies to latest version. migrating from jade to pug templating engine
3+
14
####1.2.1 / 2015-10-18
25
* updating to express v4.13.3 & socket.io v1.3.7
36

mydomain.com/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ global.root_directory = path.resolve('../');
1717

1818
app.set('port', process.env.PORT || 3000);
1919
app.set('views', __dirname + '/app/server/views');
20-
app.set('view engine', 'jade');
20+
app.set('view engine', 'pug');
2121
app.use(vhost('sub1.*', require('./subdomains/sub1')));
2222
app.use(vhost('sub2.*', require('./subdomains/sub2')));
2323
app.use(require('stylus').middleware({ src: __dirname + '/app/public' }));

0 commit comments

Comments
 (0)