mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
config: start adding path parameters
to change the urls of the admin page, the my account page and of invites. Seems to work, but need to check all the code over and test.
This commit is contained in:
2
setup.go
2
setup.go
@@ -39,8 +39,10 @@ func (app *appContext) ServeSetup(gc *gin.Context) {
|
||||
respond(500, "Failed to fetch default values", gc)
|
||||
return
|
||||
}
|
||||
pages := PagePathsDTO{PagePaths: PAGES}
|
||||
gc.HTML(200, "setup.html", gin.H{
|
||||
"cssVersion": cssVersion,
|
||||
"pages": pages,
|
||||
"lang": app.storage.lang.Setup[lang],
|
||||
"strings": app.storage.lang.Setup[lang].Strings,
|
||||
"emailLang": app.storage.lang.Email[emailLang],
|
||||
|
||||
Reference in New Issue
Block a user