Skip to content

Commit

Permalink
Asset serving working
Browse files Browse the repository at this point in the history
  • Loading branch information
David committed Dec 23, 2011
1 parent 8c4df64 commit c3250fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/webserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ var app = exports.app = express.createServer();
app.configure(function() {
// executed for each env
app.use(require('connect-assets')());
app.use("/assets/images", express.static(__dirname + '/../assets/images'));
console.log(__dirname);
});

app.configure('development', function() {
Expand Down
1 change: 1 addition & 0 deletions views/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ html
head
title Subway
!= css('bootstrap')
!= css('subway')
!= js('client')
include templates/chat_window_template
body
Expand Down

0 comments on commit c3250fb

Please sign in to comment.