Airflow logout error after changing base url

I am running airflow using puckel/docker image. I changed airflow base url by adding 1 line in airflow.env file:

Now Airflow is running with /airflow but now when I logout of airflow, I get an error. The url is:
Since /airflow comes 2 time here, I’m getting the error. Any solutions on how to fix this logout issue?