mirror of
https://github.com/gofiber/storage.git
synced 2025-10-06 00:57:38 +08:00
Typo fix
This commit is contained in:
@@ -71,7 +71,7 @@ func configDefault(cfg Config) Config {
|
||||
if cfg.Host == "" {
|
||||
cfg.Host = ConfigDefault.Host
|
||||
} else {
|
||||
if !strings.HasPrefix(cfg.Host, "http://") {
|
||||
if !strings.HasPrefix(cfg.Host, "http") {
|
||||
panic("the host should start with http:// or https://")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user