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/6b252157682d56c6e9e61520091d8ba01227ed19
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
14 additions and
2 deletions
@ -950,8 +950,11 @@ func (app *appContext) ModifyConfig(gc *gin.Context) {
gc . BindJSON ( & req )
tempConfig , _ := ini . Load ( app . config_path )
for section , settings := range req {
_ , err := tempConfig . GetSection ( section )
if section != "restart-program" && err == nil {
if section != "restart-program" {
_ , err := tempConfig . GetSection ( section )
if err != nil {
tempConfig . NewSection ( section )
}
for setting , value := range settings . ( map [ string ] interface { } ) {
tempConfig . Section ( section ) . Key ( setting ) . SetValue ( value . ( string ) )
}
@ -678,6 +678,7 @@
"user_template" ,
"user_configuration" ,
"user_displayprefs" ,
"user_profiles" ,
"custom_css"
] ,
"meta" : {
@ -732,6 +733,14 @@
"value" : "" ,
"description" : "Location of stored displayPreferences template (also used for homescreen layout) (json)"
} ,
"user_profiles" : {
"name" : "User Profiles" ,
"required" : false ,
"requires_restart" : true ,
"type" : "text" ,
"value" : "" ,
"description" : "Location of stored user profiles (encompasses template and homescreen) (json)"
} ,
"custom_css" : {
"name" : "Custom CSS" ,
"required" : false ,