Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

to set the default page of static module #727

Merged
merged 1 commit into from Mar 26, 2013

Conversation

Projects
None yet
3 participants
Contributor

superddr commented Jan 14, 2013

Now we can set the default file to some thing like 'default.htm'. 
The default value is still 'index.html', same as the old version.

example:
app.use(connect.static('pages', {index:'default.htm'})) ;

to setup default file
now we can setup default file to some thing like 'default.htm'. 
The default value is still 'index.html', same as the old version.

👍 I need this too.

tj added a commit that referenced this pull request Mar 26, 2013

Merge pull request #727 from superddr/master
to set the default page of static module

@tj tj merged commit e4e1c0a into senchalabs:master Mar 26, 2013

1 check failed

default The Travis build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment