Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jfa-go/commit/488c2f5df543e4eb50c200e4dd060f3ce8388c1b
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
7 additions and
6 deletions
@ -653,11 +653,12 @@ func (emailer *Emailer) constructEnabled(reason string, app *appContext, noSub b
func ( emailer * Emailer ) welcomeValues ( username string , expiry time . Time , app * appContext , noSub bool , custom bool ) map [ string ] interface { } {
template := map [ string ] interface { } {
"welcome" : emailer . lang . WelcomeEmail . get ( "welcome" ) ,
"youCanLoginWith" : emailer . lang . WelcomeEmail . get ( "youCanLoginWith" ) ,
"jellyfinURLString" : emailer . lang . WelcomeEmail . get ( "jellyfinURL" ) ,
"usernameString" : emailer . lang . Strings . get ( "username" ) ,
"message" : "" ,
"welcome" : emailer . lang . WelcomeEmail . get ( "welcome" ) ,
"youCanLoginWith" : emailer . lang . WelcomeEmail . get ( "youCanLoginWith" ) ,
"jellyfinURLString" : emailer . lang . WelcomeEmail . get ( "jellyfinURL" ) ,
"usernameString" : emailer . lang . Strings . get ( "username" ) ,
"message" : "" ,
"yourAccountWillExpire" : "" ,
}
if noSub {
empty := [ ] string { "jellyfinURL" , "username" , "yourAccountWillExpire" }
@ -62,7 +62,7 @@
<mj-text mj-class="text" font-size="16px" font-family="Noto Sans, Helvetica, Arial, sans-serif">
<h3>{{ .welcome }}</h3>
<p>{{ .youCanLoginWith }}:</p>
{{ .jellyfinURLString }}: <a href="{{ .jellyfinURLVal }}">{{ .jellyfinURL }}</a>
{{ .jellyfinURLString }}: <a href="{{ .jellyfinURL }}">{{ .jellyfinURL }}</a>
<p>{{ .usernameString }}: <i>{{ .username }}</i></p>
<p>{{ .yourAccountWillExpire }}</p>
</mj-text>