Mismatch with Clone URL

Hi,

I am trying to deploy Gitea to local Kubernetes cluster (KinD) using helm with following values,

service:
  http:
    type: NodePort
    port: 3000
    # we configure kind to route traffic from host 3000 to container port 30950
    nodePort: 30950
gitea:
  admin:
    # DON'T use username admin as its reserved and gitea will 
    # fail to start
    username: demo
    password: demo@123
    email: admin@localhost

When I create a dummy repository via the Gitea Web Console I see that CloneURL us showing as http://git.example.com/demo/dummy in repositories list,

https://www.screencast.com/t/BEZnbpJDUDA

where as the status line on the left shows http://localhost:3000/demo/dummy.

https://www.screencast.com/t/Rg2csRJBH0r0

I even tried adding ROOT_URL to the server config like

service:
  http:
    type: NodePort
    port: 3000
    # we configure kind to route traffic from host 3000 to container port 30950
    nodePort: 30950
gitea:
  admin:
    # DON'T use username admin as its reserved and gitea will 
    # fail to start
    username: demo
    password: demo@123
    email: admin@example.com
  config:
    server:
      PROTOCOL: http
      ROOT_URL: "localhost:3000"
      HTTP_PORT: 3000

Then it’s kind of showing the url as http://localhost:3000/localhost:3000....

I am not sure if its bug or I am missing some config. Thoughts appreciated.

-Kamesh