Skip to content

Commit

Permalink
add default mime type to fix beego#341
Browse files Browse the repository at this point in the history
  • Loading branch information
astaxie committed Dec 7, 2013
1 parent 35d15b8 commit 1ea18ad
Show file tree
Hide file tree
Showing 2 changed files with 553 additions and 0 deletions.
3 changes: 3 additions & 0 deletions beego.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ func Run() {
}
}

//init mime
initMime()

if SessionOn {
GlobalSessions, _ = session.NewManager(SessionProvider,
SessionName,
Expand Down
Loading

0 comments on commit 1ea18ad

Please sign in to comment.