Skip to content

Add option parameter for StaticMiddleware#42

Merged
cypriss merged 1 commit intogocraft:masterfrom
bluemir:master
May 18, 2015
Merged

Add option parameter for StaticMiddleware#42
cypriss merged 1 commit intogocraft:masterfrom
bluemir:master

Conversation

@bluemir
Copy link
Copy Markdown
Contributor

@bluemir bluemir 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

* 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
Copy link
Copy Markdown

ianneub 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
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants