add https for create lint file url

This commit is contained in:
harold 2025-04-18 18:47:27 +05:00
parent d1c536acbc
commit b62bfb89f9

View File

@ -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}
}