loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Write absolute AppDataPath to app.ini when installing (#25331)

If the APP_DATA_PATH isn't written into the config when installing, then
its value is uncertain because some Gitea command doesn't run with
correct WorkPath.

This is a quick fix for #25330 and can be backported.

authored by

wxiaoguang and committed by
GitHub
1ea6b8fd 1d92d0cf

+1
+1
routers/install/install.go
··· 393 393 cfg.Section("server").Key("DOMAIN").SetValue(form.Domain) 394 394 cfg.Section("server").Key("HTTP_PORT").SetValue(form.HTTPPort) 395 395 cfg.Section("server").Key("ROOT_URL").SetValue(form.AppURL) 396 + cfg.Section("server").Key("APP_DATA_PATH").SetValue(setting.AppDataPath) 396 397 397 398 if form.SSHPort == 0 { 398 399 cfg.Section("server").Key("DISABLE_SSH").SetValue("true")