From fda56a0e75a09b6fe9ad74ef05f73da1a4571dad Mon Sep 17 00:00:00 2001 From: Jeremiah Billmann Date: Sun, 19 May 2013 15:46:26 -0400 Subject: [PATCH] Fixed client path --- example/app.js | 1 + example/views/layout.jade | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/example/app.js b/example/app.js index 7dc098f..419f0c6 100644 --- a/example/app.js +++ b/example/app.js @@ -23,6 +23,7 @@ app.configure(function(){ app.use(express.methodOverride()); app.use(app.router); app.use(express.static(path.join(__dirname, 'public'))); + app.use(express.static(path.join(__dirname, '..', 'client'))); }); app.configure('development', function(){ diff --git a/example/views/layout.jade b/example/views/layout.jade index 20da798..9cef41b 100644 --- a/example/views/layout.jade +++ b/example/views/layout.jade @@ -4,6 +4,6 @@ html title= title link(rel='stylesheet', href='/stylesheets/style.css') script(src='/socket.io/socket.io.js') - script(src='/client/garageserver.io.js') + script(src='/garageserver.io.js') body block content \ No newline at end of file