Open SuperSandro2000 opened 1 month ago
Hmm yes, some options on the installation page and in the config file are totally a mess .... I totally agree with you 🤣
They need to be refactored with a new design.
that option was mainly to disable the cdn and just serve locally
I think it's still functional as I really notice no cdn actually
Note : I can't tell whether the code itself need refactoring or not
that option was mainly to disable the cdn and just serve locally
I don't think that functionality exists anymore. I have offline mode turned off and all assets except for LibreAvatar and some extensions are served from Gitea itself.
Description
Right now the situation around the offline mode and federated avatars is a bit of a mess especially after #28548. I've tried to understand the code around it and not noticed, that the offline mode isn't changing anything regarding to CDN but is just used as an override to Disable Gravatar and Enable Federated Avatars. I think it would be a lot less confusing if the offline mode setting would be just removed and the avatar features are controlled directly. Also since GRAVATAR_SOURCE exists, DISABLE_GRAVATAR can also be removed.
Gitea Version
1.22
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
With NixOS ofcourse
Database
PostgreSQL