admin: Use branch main instead of master
This commit is contained in:
parent
8e1b3bede0
commit
cd07bec05b
@ -168,7 +168,7 @@ func (i GitImporter) GetThemeLink(th *fic.Theme) (u *url.URL, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
u.Path = path.Join(u.Path, "-", "tree", "master", strings.TrimPrefix(th.Path, prefix))
|
u.Path = path.Join(u.Path, "-", "tree", "main", strings.TrimPrefix(th.Path, prefix))
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -204,7 +204,7 @@ func (i GitImporter) GetExerciceLink(e *fic.Exercice) (u *url.URL, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
u.Path = path.Join(u.Path, "-", "tree", "master", strings.TrimPrefix(e.Path, prefix))
|
u.Path = path.Join(u.Path, "-", "tree", "main", strings.TrimPrefix(e.Path, prefix))
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user