Skip to content

Commit 8c0efe0

Browse files
committed
comment typo
1 parent 32d2c96 commit 8c0efe0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/stylus/app.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ app.use(stylus.middleware({
3838

3939
// minimal setup both reading and writting to ./public
4040
// would look like:
41-
// app.use(stylus.minimal({ src: __dirname + '/public' }));
41+
// app.use(stylus.middleware({ src: __dirname + '/public' }));
42+
43+
// the middleware itself does not serve the static
44+
// css files, so we need to expose them with staticProvider
4245

4346
app.use(express.staticProvider(__dirname + '/public'));
4447

0 commit comments

Comments
 (0)