aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-01 19:16:22 +0800
committerGitHub <noreply@github.com>2016-11-01 19:16:22 +0800
commit61acd18e7967d67fd6db24be360586cf017d577b (patch)
tree60ccf2ce3cbccc364f7494965d987bb755351b1e /rpc/http.go
parent4dc1fb923ab77fe564bdda25f36744dffa235045 (diff)
parentd85d3c74db4ddb179366587e5c3afb048e85b50a (diff)
downloaddexon-61acd18e7967d67fd6db24be360586cf017d577b.tar
dexon-61acd18e7967d67fd6db24be360586cf017d577b.tar.gz
dexon-61acd18e7967d67fd6db24be360586cf017d577b.tar.bz2
dexon-61acd18e7967d67fd6db24be360586cf017d577b.tar.lz
dexon-61acd18e7967d67fd6db24be360586cf017d577b.tar.xz
dexon-61acd18e7967d67fd6db24be360586cf017d577b.tar.zst
dexon-61acd18e7967d67fd6db24be360586cf017d577b.zip
Merge pull request #3218 from kenji-isuntv/develop
internal/debug, internal/ethapi, rpc, swarm/storage: 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)
}