From ce63009c90239b9ec15effaf5da8fb44dfe2c97a Mon Sep 17 00:00:00 2001 From: Andrenerd Date: Fri, 7 May 2021 16:24:24 +0200 Subject: [PATCH] add box.io origin --- code/go/0chain.net/blobber/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/go/0chain.net/blobber/main.go b/code/go/0chain.net/blobber/main.go index 9effcb64f..322c27232 100644 --- a/code/go/0chain.net/blobber/main.go +++ b/code/go/0chain.net/blobber/main.go @@ -202,7 +202,7 @@ func isValidOrigin(origin string) bool { if host == "localhost" { return true } - if host == "0chain.net" || + if host == "0chain.net" || host == "0box.io" || strings.HasSuffix(host, ".0chain.net") || strings.HasSuffix(host, ".alphanet-0chain.net") || strings.HasSuffix(host, ".testnet-0chain.net") ||