forked from forgejo/forgejo
Backport #28636
Fix #28231, and remove some unused code.
(cherry picked from commit 2165729d16
)
This commit is contained in:
parent
d694579bdf
commit
ea8ca5b509
5 changed files with 6 additions and 14 deletions
|
@ -343,8 +343,7 @@ func loadServerFrom(rootCfg ConfigProvider) {
|
|||
LandingPageURL = LandingPageOrganizations
|
||||
case "login":
|
||||
LandingPageURL = LandingPageLogin
|
||||
case "":
|
||||
case "home":
|
||||
case "", "home":
|
||||
LandingPageURL = LandingPageHome
|
||||
default:
|
||||
LandingPageURL = LandingPage(landingPage)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue