Direct /jam to the right place
This commit is contained in:
parent
a9b8b284bf
commit
7055b59087
|
@ -108,7 +108,7 @@ func NewWebsiteRoutes(conn *pgxpool.Pool) http.Handler {
|
||||||
|
|
||||||
hmnOnly.GET(hmnurl.RegexJamsIndex, JamsIndex)
|
hmnOnly.GET(hmnurl.RegexJamsIndex, JamsIndex)
|
||||||
hmnOnly.GET(hmnurl.RegexJamIndex, func(c *RequestContext) ResponseData {
|
hmnOnly.GET(hmnurl.RegexJamIndex, func(c *RequestContext) ResponseData {
|
||||||
return c.Redirect(hmnurl.BuildJamSaveTheDate(), http.StatusFound)
|
return c.Redirect(hmnurl.BuildJamIndex2024_Visibility(), http.StatusFound)
|
||||||
})
|
})
|
||||||
hmnOnly.GET(hmnurl.RegexJamIndex2021, JamIndex2021)
|
hmnOnly.GET(hmnurl.RegexJamIndex2021, JamIndex2021)
|
||||||
hmnOnly.GET(hmnurl.RegexJamIndex2022, JamIndex2022)
|
hmnOnly.GET(hmnurl.RegexJamIndex2022, JamIndex2022)
|
||||||
|
|
Loading…
Reference in New Issue