Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
remove default compress for .js .html .css
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Apr 3, 2015
1 parent cc74348 commit 9573ceb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tango [![Build Status](https://drone.io/github.com/lunny/tango/status.png)](http

Package tango is a micro-kernel & pluggable web framework for Go.

##### Current version: v0.3.0 [Version History](https://github.com/lunny/tango/releases)
##### Current version: v0.3.1 [Version History](https://github.com/lunny/tango/releases)

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tango [![Build Status](https://drone.io/github.com/lunny/tango/status.png)](http

Tango 是一个微内核易扩展的Go语言Web框架.

##### 当前版本: v0.2.10 [版本更新记录](https://github.com/lunny/tango/releases)
##### 当前版本: v0.3.1 [版本更新记录](https://github.com/lunny/tango/releases)

## 简介

Expand Down
4 changes: 2 additions & 2 deletions tan.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var (
)

func Version() string {
return "0.3.0.0403"
return "0.3.1.0403"
}

type Tango struct {
Expand All @@ -35,7 +35,7 @@ var (
ClassicHandlers = []Handler{
Logging(),
Recovery(true),
Compresses([]string{".js", ".css", ".html", ".htm"}),
Compresses([]string{}),
Static(StaticOptions{Prefix: "public"}),
Return(),
Param(),
Expand Down

0 comments on commit 9573ceb

Please sign in to comment.