add https for create lint file url
This commit is contained in:
parent
d1c536acbc
commit
b62bfb89f9
@ -29,7 +29,7 @@ func NewLocalStorage(basePath, fileUrl string) *LocalStorage {
|
||||
if err := os.MkdirAll(basePath, os.ModePerm); err != nil {
|
||||
panic("Failed to create storage directory: " + err.Error())
|
||||
}
|
||||
fileUrl = "http://" + fileUrl
|
||||
fileUrl = "https://" + fileUrl
|
||||
return &LocalStorage{basePath: basePath, FileUrl: fileUrl}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user