Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option parameter for StaticMiddleware #42

Merged
merged 1 commit into from May 18, 2015

Conversation

Projects
None yet
3 participants
@bluemir
Copy link
Contributor

commented Nov 11, 2014

  • StaticOption
    • Prefix : serve static file only when prefixed with this.
      default is ""
    • IndexFile : name of local file to serve when request URL is directory.
      if its value equals "", middleware dosen't try serve
      file when request URL is directory
Add Option parameter for StaticMiddleware
* StaticOption
    * Prefix : serve static file only when prefixed with this.
               default is ""
    * IndexFile : name of local file to serve when request URL is directory.
                  if its value equals "", middleware dosen't try serve
                  file when request URL is directory
@ianneub

This comment has been minimized.

Copy link

commented May 6, 2015

👍 I'd like to see this feature as well.

cypriss pushed a commit that referenced this pull request May 18, 2015

Jonathan Novak
Merge pull request #42 from bluemir/master
Add option parameter for StaticMiddleware

@cypriss cypriss merged commit 934a096 into gocraft:master May 18, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.