Skip to content

Commit

Permalink
Merge pull request ipfs/kubo#7731 from ipfs/fix/http-api-cors-allowlist
Browse files Browse the repository at this point in the history
fix: webui on ipv6 localhost

This commit was moved from ipfs/kubo@0401f60
  • Loading branch information
Stebalien authored Oct 26, 2020
2 parents 1c373e1 + 28276f8 commit 26d7864
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gateway/core/corehttp/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const APIPath = "/api/v0"
var defaultLocalhostOrigins = []string{
"http://127.0.0.1:<port>",
"https://127.0.0.1:<port>",
"http://[::1]:<port>",
"https://[::1]:<port>",
"http://localhost:<port>",
"https://localhost:<port>",
}
Expand Down

0 comments on commit 26d7864

Please sign in to comment.