Prevent custom HOST name from being overwritten in mysql, postgresql, cache #23
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This change would allow a user not in a default cluster to use Gitea. The default dns values are set here for postgresql and here for mysql and memcache. Before, these default values overwrote any value set in gitea.config.database/cache.HOST. This PR would use these default values whenever gitea.config.database/cache.HOST is not set, and use the value in gitea.config.database/cache.HOST when it is set.
Similar code can be found here, where the server domain is conditionally set to gitea.default_domain.