This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
Access-Control-Allow-Origin="*"
pull/39/head
Jae Kwon
10 years ago
parent
643eb4564e
commit
4e3e09bb59
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
rpc/http_handler.go
+ 1
- 0
rpc/http_handler.go
View File
@ -71,6 +71,7 @@ func RecoverAndLogHandler(handler http.Handler) http.Handler {
begin
:=
time
.
Now
(
)
// Common headers
rww
.
Header
(
)
.
Set
(
"Access-Control-Allow-Origin"
,
"*"
)
/
*
origin
:=
r
.
Header
.
Get
(
"Origin"
)
originUrl
,
err
:=
url
.
Parse
(
origin
)
Write
Preview
Loading…
Cancel
Save