mirror of
https://github.com/gogs/gogs.git
synced 2026-04-13 15:37:55 +02:00
@@ -128,7 +128,6 @@ func SettingsPost(c *context.Context, f form.RepoSetting) {
|
||||
})
|
||||
if err != nil {
|
||||
if database.IsErrInvalidCloneAddr(err) {
|
||||
c.Data["Err_CloneAddr"] = true
|
||||
addrErr := err.(database.ErrInvalidCloneAddr)
|
||||
switch {
|
||||
case addrErr.IsURLError:
|
||||
|
||||
Reference in New Issue
Block a user