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