aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http.go
diff options
context:
space:
mode:
authorKenji Siu <kenji@isuntv.com>2016-11-01 17:23:24 +0800
committerKenji Siu <kenji@isuntv.com>2016-11-01 18:40:36 +0800
commitd85d3c74db4ddb179366587e5c3afb048e85b50a (patch)
tree60ccf2ce3cbccc364f7494965d987bb755351b1e /rpc/http.go
parent4dc1fb923ab77fe564bdda25f36744dffa235045 (diff)
downloadgo-tangerine-d85d3c74db4ddb179366587e5c3afb048e85b50a.tar
go-tangerine-d85d3c74db4ddb179366587e5c3afb048e85b50a.tar.gz
go-tangerine-d85d3c74db4ddb179366587e5c3afb048e85b50a.tar.bz2
go-tangerine-d85d3c74db4ddb179366587e5c3afb048e85b50a.tar.lz
go-tangerine-d85d3c74db4ddb179366587e5c3afb048e85b50a.tar.xz
go-tangerine-d85d3c74db4ddb179366587e5c3afb048e85b50a.tar.zst
go-tangerine-d85d3c74db4ddb179366587e5c3afb048e85b50a.zip
internal/debug, internal/ethapi, rpc, swarm/storage: Ran "go fmt"
Diffstat (limited to 'rpc/http.go')
-rw-r--r--rpc/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http.go b/rpc/http.go
index c923580bf..7d4fe5d47 100644
--- a/rpc/http.go
+++ b/rpc/http.go
@@ -170,7 +170,7 @@ func newCorsHandler(srv *Server, corsString string) http.Handler {
c := cors.New(cors.Options{
AllowedOrigins: allowedOrigins,
AllowedMethods: []string{"POST", "GET"},
- MaxAge: 600,
+ MaxAge: 600,
})
return c.Handler(srv)
}