Browse files

Rename path serving static files from /public to /static.

  • Loading branch information...
1 parent f1052f8 commit 099bf0dc88b698870fe4974db9ce5f41fe686721 @mileskin committed Feb 28, 2011
View
2 application/foo-twitter-client.js
@@ -4,7 +4,7 @@ var app = express.createServer()
app.set('view engine', 'jade')
app.set('view options', {layout: false})
-app.use(express.staticProvider(__dirname + '/public'))
+app.use(express.staticProvider(__dirname + '/static'))
app.get('/', function(req, res){
res.render('index')
View
0 application/public/css/application.css → application/static/css/application.css
File renamed without changes.
View
0 application/public/js/application.js → application/static/js/application.js
File renamed without changes.
View
0 application/public/js/jquery-1.5.js → application/static/js/jquery-1.5.js
File renamed without changes.
View
0 application/public/js/underscore-min.js → application/static/js/underscore-min.js
File renamed without changes.
View
6 jsTestDriver.conf
@@ -1,11 +1,11 @@
server: http://localhost:8088
load:
- - "application/public/js/jquery-1.5.js"
+ - "application/static/js/jquery-1.5.js"
- "vendor/jasmine-1.0.1.js"
- "vendor/JasmineAdapter.js"
- "vendor/jasmine-jquery-1.2.0.js"
- "vendor/jasmine-fake-ajax.js"
- - "application/public/js/underscore-min.js"
- - "application/public/js/application.js"
+ - "application/static/js/underscore-min.js"
+ - "application/static/js/application.js"
- "spec/js/unit/*.js"

0 comments on commit 099bf0d

Please sign in to comment.