mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 12:19:51 +01:00
comment typo
This commit is contained in:
parent
32d2c96d22
commit
8c0efe09e5
|
|
@ -38,7 +38,10 @@ app.use(stylus.middleware({
|
|||
|
||||
// minimal setup both reading and writting to ./public
|
||||
// would look like:
|
||||
// app.use(stylus.minimal({ src: __dirname + '/public' }));
|
||||
// app.use(stylus.middleware({ src: __dirname + '/public' }));
|
||||
|
||||
// the middleware itself does not serve the static
|
||||
// css files, so we need to expose them with staticProvider
|
||||
|
||||
app.use(express.staticProvider(__dirname + '/public'));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user